View Full Version : Page scrolling methods

03-25-2005, 03:40 PM
Does anyone know any good page auto scrolling methods, at the moment I have a button that scrolls my page when clicked, it's OK but I really want a method that scrolls on opening or by moving the mouse or something.

I tried another script that used onload but it conflicted with another function I had on my page so only one would work not both.

The both were called on onload.

So anyone got anything nice? :thumbsup:

03-25-2005, 05:51 PM

Call some function in body tag and then call your original functions inside that function.

<body onload="myfunction();">

JS Code...

function myfunction(){

This way you can run as many codes as you want using onload event...

Hope this helps you...


03-25-2005, 06:09 PM
Yay, I got it working, so simple duh! what was I thinking, I added this pageScroll to my existing onload event and it worked.

window.onload= function() {SetUpEvents,pageScroll(document.forms.myForm)

Thanks mate :thumbsup:

03-25-2005, 08:55 PM
I spoke too soon my other function was disabled after applying that. Looks like I'm stuck with a button. :(

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum