I'm using the ready-to-use javascripts to have randon quotes displayed when the page loads.
No issues if I just have one on a page. But if I have two (I copied one to create the second), only one of the, shows up when I review or publish.
They have different ID's. So, is this a limitation? or is it something I've done?
Alan
Javascript random quotes - why can't I have two of them?
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
- BaconFries
-
- Posts: 5867
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Javascript random quotes - why can't I have two of them?
The limitation is you can only have one script (javascript) per page. So no you haven't done anything wrong.They have different ID's. So, is this a limitation? or is it something I've done?
Re: Javascript random quotes - why can't I have two of them?
You are correct, some scripts can only be used once per page.
Note that this is also documented in the help.
Note that this is also documented in the help.