Click to See Complete Forum and Search --> : scroller


xataku_nakusute
07-28-2003, 03:27 AM
do any of you know of a script that would scroll a div somewhat the same as using a normal scrollbar, however, you would scroll while the mouse is held down and clicked and it would stop scrolling down/up when you let go

pyro
07-28-2003, 07:42 AM
Take a look at these two pages:

http://www.infinitypages.com/research/divcustomscroller.htm
http://www.infinitypages.com/research/iframecustomscroller.htm

xataku_nakusute
07-28-2003, 03:35 PM
thats what i was looking for.....
however....is it ok, if i took the code directly...?

and also, is it possible to modify the script so it only scrolls when you hold the mouse click down?

pyro
07-28-2003, 03:39 PM
Originally posted by xataku_nakusute
is it ok, if i took the code directly...?What do you mean?

Originally posted by xataku_nakusute
and also, is it possible to modify the script so it only scrolls when you hold the mouse click down?Yes, just remove the onmouseovers/outs.

xataku_nakusute
07-28-2003, 03:49 PM
i mean, is it ok, if i view the actual source of the page to get the code.....or is there something within the code that i shouldnt see....?

pyro
07-28-2003, 03:51 PM
Yes, everything you need can be gotten from the source code, except, of course, the images. Those can be gotten at:

http://www.infinitypages.com/research/images/up.png
http://www.infinitypages.com/research/images/down.png

xataku_nakusute
07-28-2003, 04:15 PM
thank you!!

pyro
07-28-2003, 04:18 PM
You're welcome... :)