Mistrel
06-05-2006, 01:43 PM
I've added custom scrollbars to frames on my site using youngpup's modified DOM script:
http://www.youngpup.net/_projectDirectories/domdrag/demos/ex4/index.html
I would like to use a function maxY() "onLoad" to set the scrollbar's initial y value to its maximum on divs I want to start at the bottom and scroll backwards.
I'm not familiar enough with javascript to manage this one. I know it's simple but I can't make sense of how to make it work from this code.
Any help would be appreciated.
I have another post about the same control here:
http://www.dynamicdrive.com/forums/showthread.php?t=10155
http://www.youngpup.net/_projectDirectories/domdrag/demos/ex4/index.html
I would like to use a function maxY() "onLoad" to set the scrollbar's initial y value to its maximum on divs I want to start at the bottom and scroll backwards.
I'm not familiar enough with javascript to manage this one. I know it's simple but I can't make sense of how to make it work from this code.
Any help would be appreciated.
I have another post about the same control here:
http://www.dynamicdrive.com/forums/showthread.php?t=10155