Results 1 to 3 of 3

Thread: Scrollers - Cross Browser marquee II

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

    Default Scrollers - Cross Browser marquee II

    Any advice on how to possibly tweak the scrolling speed SLOWER than the current minimum which = 1. Options are 1-10, 1 being slowest. Ive tried decimel and minus values but to no avial. Any help greatly appreciated.
    http://www.dynamicdrive.com/dynamicindex2/cmarquee2.htm

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The 'speed' setting is actually the number of pixels the thing gets moved each time. Browsers don't deal well with decimal fractions of pixels, and if the negative number were to work, it would simply reverse the direction of scrolling.

    So instead, in the head portion of this script, find:

    Code:
    setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)
    The number 30 is the number of milliseconds between each incremental movement of the scroller. Increase this number to slow things down even more. Too high of a number will result in jerkiness. 60 may be about the top 'safe' figure to use.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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

    Default many thanks

    a true gent John - many tahnks for your help - worked a treat!

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
  •