Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Horizontal Pausing News Scroller


2 replies to this topic

#1 Johnnymushio

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 10 posts
  • Gender:Male

Posted 20 December 2005 - 12:27 PM

Here's the page of the code, I want to know how to make the scroller scroll faster. Thanks!

http://www.dhtmlshock.com/scrollers/Horizo...ler/default.asp

John

#2 rvalkass

    apt-get moo

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,107 posts
  • Gender:Male
  • Location:Devon, England
  • Interests:At the moment, Physics mainly!
  • myCENT:21.63
  • Spam Patrol

Posted 20 December 2005 - 02:48 PM

You need to change the variable 'pausebetweenimages'. it is on line 12 of the first section of code, the bit that goes into the head section.

By default it is set to 3000ms (3 seconds). Simply change it to suit your requirements. Remember it is in milliseconds, so multiply the time in seconds by 1000 to get it in milliseconds (e.g. 2.5 seconds is 2500 milliseconds).

#3 Johnnymushio

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 10 posts
  • Gender:Male

Posted 20 December 2005 - 04:40 PM

no that just changes the pause before scrolling again. i want the thing to scroll 10px a second , how would i make it scroll faster???????????????????????




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users