1

(9 replies, posted in WebPlus)

sorry for the post but does anyone have webplusx8 please as got a new computer
and seem to have lost it

2

(1 replies, posted in WebPlus)

can someone help me with a hamburger menu please

i have this code


<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
body {
  margin: 0;
  font-family: Helvetica, sans-serif;
  background-color: ;
}

a {
  color: #000;
}

/* header */

.header {
  background-color: ;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  width: 100%;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}

.header li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid #f4f4f4;
  text-decoration: none;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #f4f4f4;
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: left;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 440px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* 48em = 768px */

@media (min-width: 48em) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon {
    display: none;
  }
}


</style>
</head>
<body>

<header class="header">
  
  <input class="menu-btn" type="checkbox" id="menu-btn" />
  <label class="menu-icon" for="menu-btn"><span class="navicon"></span></label>
  <ul class="menu">
    <li><a href="https://coolvibes-reloaded.com/m.index.html">Home</a></li>
    <li><a href="https://coolvibes-reloaded.com/m.unsigned.html">Unsigned</a></li>
    <li><a href="https://coolvibes-reloaded.com/m.who-are.html">Djs</a></li>
    <li><a href="https://coolvibes-reloaded.com/m.bookings.html">Bookings</a></li>
    <li><a href="https://coolvibes-reloaded.com/m.birthdays.html">Birthdays</a></li>
    <li><a href="https://coolvibes-reloaded.com/m.shop.html">Shop</a></li>
  </ul>
</header>

</body>
</html>

but when i go and test it locally it looks like this
i have two i'm testing
https://i.postimg.cc/RWsyVqrw/mobile2.png

3

(4 replies, posted in WebPlus)

KeithH wrote:

You would need to get the css html code for yourself and add in manually maybe a little research online.

There is another paid option at Serif Addons site here:https://serifaddons.com/mobile-menu-webplus.html

sorry i know this post is old but where would i get the css and html code?

4

(1 replies, posted in WebPlus)

i'm wondering how can i get this script

<script>
$(document).ready(function(){
  $("#play28").click(function(){
    $("#play28").hide();
    $("#pause28").show();
  });
  $("#pause28").click(function(){
    $("#pause28").hide();
    $("#play28").show();
  });
});
</script>

<audio id="myAudio"
 <source src="http://boogie.vside-radio.com:8406/stream"
         type="audio/mp4">
 Your browser does not support the HTML5 Audio element.
</audio>

to work in all desktop and mobile browsers, and not just one?

5

(2 replies, posted in WebPlus)

i can't seem to get rid of this code?
it's doing my head in

could anyone possible help
https://i.postimg.cc/sGWB2tYr/code.png

6

(1 replies, posted in WebPlus)

i'm going into serif to edit my website
i go to update my website and preview
an i see icons to the left or right bottom
and not in the boxes? here's a picture
https://i.postimg.cc/9rfLRB8K/mess.png

don't know what to do i have tried everything
what could be causing this trouble?

i need that icon in the tunein box?

i want to be able to edit my site without this ever happening?

7

(0 replies, posted in WebPlus)

could someone possible have a look at my site please
i'm editing my site but when i preview my site things
are not where there supposed to be?

discord is supposed to be in the middle
where recent tracks is and my new images are meant to be
in the tunein box? but the images are next to dj programs

i do not know whats going on

tried putting discord within html in body it moves
tried putting in head it goes to head
https://i.postimg.cc/4Yhj8tx0/mess.png

Joe wrote:
strawbs89 wrote:

also does that script accept mpeg links

this is a fake example: http://elfbar.com/stream

Try it and see.

Joe

i'v been working alot more on my site
but the play/pause buttons work but no sound on mobile device
there's sound on laptop but not mobile. wondering if you could try it out
https://coolvibes-reloaded.com

also does that script accept mpeg links

this is a fake example: http://elfbar.com/stream

strawbs89 wrote:
Joe wrote:
strawbs89 wrote:

it plays and pauses on this page

but not on my jj2.wpp

A couple of issues on your page.

1. Staff Schedule fragment -
a. You had included head and body tags with the code and pasted it into Body. I've copied your original fragment and placed it on the pasteboard for reference. The one that's on the page I've separated the head and body coding and moved them to the correct places.
b. The audio still would not work as expected. This was due a conflict between two different versions of Jquery, v3.5.1 in the staff schedule fragment and 1.11.1 which Webplus uses for the show/hide actions of the audio buttons. To remedy I've removed the actions from the buttons and put a small jquery script in the fragment.

File attached.

Joe


thank you but it's telling me it caan't find the files you have put in there
do you have the files?


not to worry i'v found em

Joe wrote:
strawbs89 wrote:

it plays and pauses on this page

but not on my jj2.wpp

A couple of issues on your page.

1. Staff Schedule fragment -
a. You had included head and body tags with the code and pasted it into Body. I've copied your original fragment and placed it on the pasteboard for reference. The one that's on the page I've separated the head and body coding and moved them to the correct places.
b. The audio still would not work as expected. This was due a conflict between two different versions of Jquery, v3.5.1 in the staff schedule fragment and 1.11.1 which Webplus uses for the show/hide actions of the audio buttons. To remedy I've removed the actions from the buttons and put a small jquery script in the fragment.

File attached.

Joe


thank you but it's telling me it caan't find the files you have put in there
do you have the files?

it plays and pauses on this page

but not on my jj2.wpp

Joe wrote:

Separate the two buttons and try it again. If it works place the play button on top of the pause button and bring the play button to the front and preview again.

If it fails upload a single page project file with the butons and fragment on it, with your next post.

Joe

also i'm pushing play yes that works but can't pause it i have done what you've said
i've put it on my site but can't pause
https://i.postimg.cc/hf0PNSXh/circle-play-regular.png



https://i.postimg.cc/7JnwvVYj/circle.png


element


<audio id="myAudio"
<source src="http://media.w3.org/2010/07/bunny/04-Death_Becomes_Fur.mp4"
         type="audio/mp4">
<source src="http://media.w3.org/2010/07/bunny/04-Death_Becomes_Fur.oga"
         type="audio/ogg";>
Your browser does not support the HTML5 Audio element.
</audio>

Joe wrote:

To use the codepen script you would also need to download font awesome and include it in your site.

A simpler way is use a play image and a pause image and put one on top of the other, add a couple of actions to each with an onclick line of javascript, and a tiny bit of css. See the attached file, pages Home and Three. Preview in a browser.

If you want to use it, do it the easy way. Slide one image off the other > copy both to your page. Copy the HTML fragment and paste on your page. Preview in a browser. If all OK double click the fragment and enter the names of your audio files.

Joe

also i'm pushing play yes that works but can't pause it i have done what you've said
i've put it on my site

Joe wrote:

To use the codepen script you would also need to download font awesome and include it in your site.

A simpler way is use a play image and a pause image and put one on top of the other, add a couple of actions to each with an onclick line of javascript, and a tiny bit of css. See the attached file, pages Home and Three. Preview in a browser.

If you want to use it, do it the easy way. Slide one image off the other > copy both to your page. Copy the HTML fragment and paste on your page. Preview in a browser. If all OK double click the fragment and enter the names of your audio files.

Joe

ok would that work with both desktop and mobile versions?
which actions would i have to use?

Alfred wrote:
strawbs89 wrote:

i have the code like this

Where is that code from? It doesn’t look at all like the code displayed on the CodePen page that you linked to originally, and there’s a typo in the name of the CSS property ‘transition-timing-function’ (which says ‘tiomig’ instead of ‘timing’ in the code as you’ve posted it here).


rite i've added the code as is

<!-- Header Code -->

<!--Header code for HTML Fragment frag_26 -->
<style>
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,800);

$background:#f9f9f9;
$foreground:#2c3e50;

$foreground-light:#34495e;


$size:50px;
$ratio:1.2;

$transition-time:0.3s;

body {
  background: $background;
  font-family: 'Open Sans', sans-serif;
  text-align:center;
}

.play {
  display:block;
  width: 0; 
    height: 0; 
    border-top: $size solid transparent;
    border-bottom: $size solid transparent;
    border-left: ($size*$ratio) solid $foreground;
  margin: ($size * 2) auto $size auto;
  position:relative;
  z-index:1;
  transition: all $transition-time;
  -webkit-transition: all $transition-time;
  -moz-transition: all $transition-time;
  left:($size*0.2);
  
  &:before {
    content:'';
    position:absolute;
    top:($size*-1.5);
    left:($size*-2.3);
    bottom:($size*-1.5);
    right:($size*-0.7);
    border-radius:50%;
    border: ($size*0.2) solid $foreground;
    z-index:2;
    transition: all $transition-time;
    -webkit-transition: all $transition-time;
    -moz-transition: all $transition-time;
  }
  &:after {
    content:'';
    opacity:0;
    transition: opacity ($transition-time * 2);
    -webkit-transition: opacity ($transition-time * 2);
    -moz-transition: opacity ($transition-time * 2);
  }
  
  &:hover, &:focus {
    &:before {
       transform: scale(1.1);
       -webkit-transform: scale(1.1);
       -moz-transform: scale(1.1);
    }
  }
  
  &.active {
      border-color:transparent;
    &:after {
      content:'';
      opacity:1;
      width:($size);
      height:($size*1.6);
      background:$foreground;
      position:absolute;
      right: ($size*0.1);
      top: ($size*-0.8);
      border-left:($size*0.4) solid $foreground;
      box-shadow:inset ($size*0.6) 0 0 0 $background;
    }
  }
}

h1 {
   text-transform:uppercase;
  color:$foreground-light;
  letter-spacing:2px;
  font-size:2em;
  margin-bottom:0;
}

.headline {
   display:block;
  color:$foreground;
  font-size:1.5em;
  margin-bottom:1.5em;
}

.social {
  text-decoration:none;
  color:$foreground-light;
  margin: 0.5em 1.5em;
  display:inline-block;
  &:hover, &:focus {
    color:$foreground;
  }
}
</style>


<!-- HTML Fragment frag_26 -->

<!--Preamble for HTML Fragment frag_26-->
<div __AddCode="here" style="position:absolute;left:0px;top:604px;width:303px;height:226px;/*Add Style*/">
    <!--Body-->
    <a href="#" title="Play video" class="play"></a>
    <script>
$(document).ready(function() {
  var icon = $('.play');
  icon.click(function() {
     icon.toggleClass('active');
     return false;
  });
});
</script>
</div>
<!--Postamble for HTML Fragment frag_26-->

now in html what do i put in order for audio to play

Alfred wrote:
strawbs89 wrote:
Alfred wrote:

I’ve just had a look at the linked page. It seems to use jQuery and some clever CSS code.

You would need to use an HTML Code Fragment object to implement this in WebPlus. Have you ever worked with code fragments in any of your WebPlus projects?

never worked with code fragments

When you insert a code fragment object on the WebPlus page, you get a dialog offering a choice between pasting to the head or the body of the HTML. The CSS (Cascading Style Sheet) code should go in the head section, between <style> and </style> tags. Take a look at W3Schools to see how it works:

https://www.w3schools.com/csS/tryit.asp … rycss_text

The JS (JavaScript) code goes between <script> and </script> tags in the body section, like this:

<script>
$(document).ready(function() {
  var icon = $('.play');
  icon.click(function() {
     icon.toggleClass('active');
     return false;
  });
});
</script>

The HTML code also goes in the body section, and its appearance in a browser will be determined by the size and position of the code fragment box on the WebPlus page.

i have the code like this

<!-- Header Code -->

<!--Header code for HTML Fragment frag_7 -->


<!-- HTML Fragment frag_7 -->

<!--Preamble for HTML Fragment frag_7-->
<div __AddCode="here" style="position:absolute;left:558px;top:67px;width:392px;height:338px;/*Add Style*/">
    
<div class="control play trigger-audio">
  <span class="left"></span>
  <audio src="http://scotspaul.vside-radio.com:7355/stream" volume="1.0"></audio>
  <span class="right"></span>
</div>

<style>
.control {
    border: 11.2px solid #333;
    border-radius: 50%;
    margin: 20px;
    padding: 28px;
    width: 112px;
    height: 112px;
    font-size: 0;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
}

.control,
.control .left,
.control .right,
.control:before {
    display: inline-block;
    vertical-align: middle;
    transition: border 0.4s, width 0.4s, height 0.4s, margin 0.4s;
    transition-tiomig-function: cubic-bezier(1, 0, 0, 1);
}

.control:before {
    content: "";
    height: 112px;
}

.control.pause .left,
.control.pause .right {
    margin: 0;
    border-left: 36.96px solid #333;
    border-top: 0 solid transparent;
    border-bottom: 0 solid transparent;
    height: 96.992px;
}

.control.pause .left {
    border-right: 22.4px solid transparent;
}

.control.play .left {
    margin-left: 18.66666667px;
    border-left: 48.496px solid #333;
    border-top: 28px solid transparent;
    border-bottom: 28px solid transparent;
    border-right: 0px solid transparent;
    height: 56px;
}

.control.play .right {
    margin: 0;
    border-left: 48.496px solid #333;
    border-top: 28px solid transparent;
    border-bottom: 28px solid transparent;
    height: 0px;
}

.control:hover {
    border-color: #000;
}

.control:hover .left,
.control:hover .right {
    border-left-color: #000;
}

</style>

<script>
const audioButtons = document.querySelectorAll('.trigger-audio')
const buttonToStopAllAudios = document.querySelector('.fa-stop')

const getAudioElementFromButton = buttonElement =>
    buttonElement.querySelector('audio')

const stopAudioFromButton = buttonElement => {
    // Pause the audio
    getAudioElementFromButton(buttonElement).pause()

    // Update element classes
    buttonElement.classList.add('fa-play')
    buttonElement.classList.remove('fa-pause')
}

const playAudioFromButton = buttonElement => {
    // Pause the audio
    getAudioElementFromButton(buttonElement).play()

    // Update element classes
    buttonElement.classList.remove('fa-play')
    buttonElement.classList.add('fa-pause')
}

audioButtons.forEach(audioButton => {
    audioButton.addEventListener('click', () => {
        // I get this first because I have to pause all the audios before doing anything, so I have to know it this audio was paused or not
        const audioElement = getAudioElementFromButton(audioButton)
        const audioIsPaused = audioElement.paused

        // Stop all audios before starting this one
        audioButtons.forEach(stopAudioFromButton)

        audioIsPaused
            ?
            playAudioFromButton(audioButton) // Play if it's paused
            :
            stopAudioFromButton(audioButton) // Pause if it's playing
    })
})

buttonToStopAllAudios.addEventListener('click', () => {
    audioButtons.forEach(stopAudioFromButton)
})

$('.control').on('mousedown', function() {
    $(this).toggleClass('pause play');
});

$(document).on('keyup', function(e) {
    if (e.which == 32) {
        $('.control').toggleClass('pause play');
    }
});

$('.control').on('mousedown', function() {
    $(this).toggleClass('pause play');
});

$(document).on('keyup', function(e) {
    if (e.which == 32) {
        $('.control').toggleClass('pause play');
    }
});
</script>
</div>
<!--Postamble for HTML Fragment frag_7-->

18

(4 replies, posted in WebPlus)

Alfred wrote:

Thanks for the link. That was X2 (version 11.0.10.036, i.e. version 11.0, update 10, build 36) but it wasn’t free!

As I mentioned previously, there was no X3 (because PagePlus X4 had already been released when the successor to WPX2 was ready, so it was named X4 to keep the release numbers in step).

rite gotya!!

Alfred wrote:

I’ve just had a look at the linked page. It seems to use jQuery and some clever CSS code.

You would need to use an HTML Code Fragment object to implement this in WebPlus. Have you ever worked with code fragments in any of your WebPlus projects?

never worked with code fragments

20

(4 replies, posted in WebPlus)

Alfred wrote:

Where have you seen a reference to a 2021 version of WebPlus (or, indeed, any of the ‘legacy’ apps)? The last release of WebPlus (in 2014) was X8, which was version 16 rather than version 18 because there never was a WP11 or WPX3.

this is where i saw webplus 11 https://en.freedownloadmanager.org/Wind … bPlus.html

21

(4 replies, posted in WebPlus)

does anyone have webplus version 11 2021
by any chance, i'm assuming that was serif's last version
before they turned to affinity.

if anyone has got webplus 11 could you please drop me a PM over at
jayaubs89@gmail.com  stating you're from punster.me

that would be great

22

(6 replies, posted in WebPlus)

i'm having problems with the audio player
not showing on my mobile site, 'funny thing is the audio player works on preview page
but once uploaded to server it don't show'?

i have used the URL option in the audio player

if anyone can help me on this problem that would be fantastic smile

i would like to customize the player to look something like this
https://codepen.io/stevenfabre/pen/KKPJyW

now is there anyway i could possible make this happen

if so how?

24

(4 replies, posted in WebPlus)

i have both desktop and mobile websites
now how do i setup the burger menu= the menu with three lines
how do i have that work with the menu

25

(6 replies, posted in WebPlus)

'Thanks For Help Guys'