CSS Menu Jumping to top of page
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
-
-
- Posts: 21
- Joined: Mon Apr 20, 2020 3:54 pm
CSS Menu Jumping to top of page
Hi
Whenever I create a CSS Menu it works perfectly fine on desktop but on any touch device clicking on a submenu does not just open the menu it also rockets you to the top of the page. The only sort of workaround I have found is to have it link to an anchor next to the menu but it's still not ideal.
Please help.
Whenever I create a CSS Menu it works perfectly fine on desktop but on any touch device clicking on a submenu does not just open the menu it also rockets you to the top of the page. The only sort of workaround I have found is to have it link to an anchor next to the menu but it's still not ideal.
Please help.
Re: CSS Menu Jumping to top of page
Maybe there is a conflict with other scripts on the page?
What is the URL?
What is the URL?
-
-
- Posts: 21
- Joined: Mon Apr 20, 2020 3:54 pm
Re: CSS Menu Jumping to top of page
http://www.jongspan.online/Pablo wrote: Mon Apr 20, 2020 5:00 pm Maybe there is a conflict with other scripts on the page?
What is the URL?
Scroll to the bottom of the page and click on the top link, you will jump to the top of the page, hovering works a-ok but on touch devices, people obviously need to press on the link.
Thank you for looking into it.
Re: CSS Menu Jumping to top of page
A menu item with sub items should not have a link, because on mobile devices there is no 'hover' functionality.
So, the URL of the main item be empty.
So, the URL of the main item be empty.
-
-
- Posts: 21
- Joined: Mon Apr 20, 2020 3:54 pm
Re: CSS Menu Jumping to top of page
How do I that, have tried just leaving the link blank and the result is what you saw.
- BaconFries
-
- Posts: 5940
- Joined: Thu Aug 16, 2007 7:32 pm
Re: CSS Menu Jumping to top of page
You can simply use the following # were you would insert the url
-
-
- Posts: 21
- Joined: Mon Apr 20, 2020 3:54 pm
Re: CSS Menu Jumping to top of page
Well the way I am doing it is not working, here is a screenshot what am I doing wrong:BaconFries wrote: Mon Apr 20, 2020 5:31 pm You can simply use the following # were you would insert the url

Re: CSS Menu Jumping to top of page
If you use "#' then this will tell the browser to jump to top of the page.
-
-
- Posts: 21
- Joined: Mon Apr 20, 2020 3:54 pm
Re: CSS Menu Jumping to top of page
Neither option works:Pablo wrote: Mon Apr 20, 2020 6:09 pm If you use "#' then this will tell the browser to jump to top of the page.
https://youtu.be/o5CRu74bROg
Re: CSS Menu Jumping to top of page
Set as follows:
Link to: External Web Address
URl: javascript:void(0)
Link to: External Web Address
URl: javascript:void(0)
-
-
- Posts: 21
- Joined: Mon Apr 20, 2020 3:54 pm
Re: CSS Menu Jumping to top of page
crispy68 wrote: Mon Apr 20, 2020 6:39 pm Set as follows:
Link to: External Web Address
URl: javascript:void(0)
You, sir, are a certified badass

Pablo I think this should go in a fault report then, following the help file in the program only leads to frustration
