I'm currently using the Marquee script on my site, the one that scrolls horizontally. I noticed that if I input over a certai namount of characters (approx. 150), the script does not work.
Is there a limit or workaround for this?
I'm currently using the Marquee script on my site, the one that scrolls horizontally. I noticed that if I input over a certai namount of characters (approx. 150), the script does not work.
Is there a limit or workaround for this?
Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.
DD Admin
Script: Cross Browser marquee
http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm
I'm currently using the script on my site, the one that scrolls horizontally. I noticed that if I input over a certai namount of characters (approx. 150), the script does not work.
Is there a limit or workaround for this?
Tested it and there's no error.
I believe that his has something to do with your text. You should check that you had escaped quotes as this would'nt work:
....wherein the fix is:Code:alert('I should have seen it's content'); // Error should alert
You should also ensure that you don't have a new line in your strings.Code:alert('I should have seen it\'s content'); // Should recieve an alert
For further reading
http://www.quirksmode.org/js/strings.html
Hope it helps.
Learn how to code at 02geek
The more you learn, the more you'll realize there's much more to learn
Ray.ph!
Bookmarks