Javascript From Themeable Menu
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
Javascript From Themeable Menu
Running Javascript from a themeable menu doesn't seem to work (it works fine from a CSS menu).
It this possible to do?
It this possible to do?
Re: Javascript From Themeable Menu
At the moment this functionality is not available for the Theme-able menu.
I will investigate if this can implemented in a future update.
I will investigate if this can implemented in a future update.
Re: Javascript From Themeable Menu
Thanks Pablo.
Could there be some kind of workaround?
Could there be some kind of workaround?
Re: Javascript From Themeable Menu
I do not have a workaround. This will require a modification in the software.
Re: Javascript From Themeable Menu
OK Thanks.
Re: Javascript From Themeable Menu
Pablo thank you for adding support for events in the Themeable menu!
Re: Javascript From Themeable Menu
I was very glad to see this but when I actually tried it, it did not work.
Simple test; create a blank page, add a themeable menu, then on one of the item's onclick event add run javascript - e.g. alert('Hello');
Are there parameters in the menu or item properties that have to be set for it to work?
.
Simple test; create a blank page, add a themeable menu, then on one of the item's onclick event add run javascript - e.g. alert('Hello');
Are there parameters in the menu or item properties that have to be set for it to work?
.
Re: Javascript From Themeable Menu
Maybe you have added the event to a parent item?
In that case, it will not work because otherwise the sub menu cannot be displayed.
In that case, it will not work because otherwise the sub menu cannot be displayed.
Re: Javascript From Themeable Menu
I tried removing all items and subitems and then I added a new item and added the run javascript onclick event to that but it still didn't work.
Re: Javascript From Themeable Menu
Do you have a demo project so I can see all your settings?
Re: Javascript From Themeable Menu
I assume you are referring to the page 'FG'?
This seems to work correct.
This seems to work correct.
Re: Javascript From Themeable Menu
Yes I meant FG (I forgot I had other pages in that project).
I'm using Microsoft Edge ..are you using Chrome or Firefox?
I'm using Microsoft Edge ..are you using Chrome or Firefox?
Re: Javascript From Themeable Menu
I published the page to a test folder on my site:
https://www.goldhealer.com/test/
Tried it in different browsers and I'm not getting the javascript alert.
https://www.goldhealer.com/test/
Tried it in different browsers and I'm not getting the javascript alert.
Re: Javascript From Themeable Menu
Are you sure that you are using the latest version of the software?
Re: Javascript From Themeable Menu
Yes.. 16.1.2
Re: Javascript From Themeable Menu
Your project works for me.
Are you using the 32bit or 64bit version?
Are you using the 32bit or 64bit version?
Re: Javascript From Themeable Menu
64 bit version.
Re: Javascript From Themeable Menu
Can you please download the software again to make sure that you have the latest build?
Re: Javascript From Themeable Menu
Yes I have already done that with the same result.
Also the About under Help shows 16.1.2 (Jan 15 2021)
Also the About under Help shows 16.1.2 (Jan 15 2021)
Re: Javascript From Themeable Menu
Jan 15, 2021 is not the latest build.
Please reinstall.
Please reinstall.
Re: Javascript From Themeable Menu
OK I just installed the January 19th version and that worked.
It's still the same version number though so just curious .. was this not a new subversion number? Also in the Jan 15 version it was saying I have the latest version when I clicked check for updates.
Anyway thanks for adding this feature.
It's still the same version number though so just curious .. was this not a new subversion number? Also in the Jan 15 version it was saying I have the latest version when I clicked check for updates.
Anyway thanks for adding this feature.
- BaconFries
-
- Posts: 5974
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Javascript From Themeable Menu
A simple explanation for this there may have been a "Hot Fix" If this was the case then there is usually a delay before it catches up.
Related topic
Related topic
Pablo wrote: Mon Sep 28, 2020 5:25 pm Besides regular updates, there are also hotfixes. Usually a hotfix is released a few hours after someone has reported a problem (as an extra service), so they do not have to wait until the next update before this issue get fixed.
Hotfixes do not include a version number increase because this would take a lot of extra time. And the idea of an hotfix is to get an update out as quickly as possible.
Re: Javascript From Themeable Menu
Good to know...thank you.