Results 1 to 4 of 4

Thread: Cross-Browser Marquee 1

  1. #1
    Join Date
    Sep 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Cross-Browser Marquee 1

    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?

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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

  3. #3
    Join Date
    Sep 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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?

  4. #4
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    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:
    Code:
    alert('I should have seen it's content'); // Error should alert
    ....wherein the fix is:
    Code:
    alert('I should have seen it\'s content'); // Should recieve an alert
    You should also ensure that you don't have a new line in your strings.

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •