07-26-2002, 07:34 PM
Fixed the problem of two window.onload but now
I want to add the window.onscroll
But it doesn't show up.
tried several things including this:
<body onload="runmikescroll() ;fall() ;staticize()">
but it is certain I am doing something wrong.
tried adding this as well
<body onscroll="staticize ;()">
07-26-2002, 08:09 PM
If you make a function that calls them all..like
and then in your script area use something like this...
Hope that helps!
07-26-2002, 10:22 PM
But it is not working.
07-27-2002, 05:58 AM
Ok I will try again
I have 3 scripts:
two call on the "onload"
the other calls "onscroll"
I can get the two onloads to work but not the
(in the body):
(in the script): added at the end of the first script only!
staticize(); <(this being the onscroll)
This did not work.
07-27-2002, 07:24 PM
exactly what three scripts are you using?
07-27-2002, 07:41 PM
Autumn leaves- by Kurt Grigg (firstname.lastname@example.org)= Onload
Mike's DHTML scroller (By Mike Hall)= Onload
Always On Top Content Script=OnScroll
All 3 are from Dynamic Drive.:o
07-27-2002, 08:01 PM
follow direction for installing each script. and then all you would need to do is combine the on load function like this:
make sure you disable or delete the two onload functions:
//window.onload=runmikescroll <- delete this line or diable by adding "// in front of the line. same for
and add them in the body tag like this:
no need to include onscroll function.
your page should look like this:
[ Always On Top Content HEAD Script ] here
[ Autumn leaves script ] here
[ Mike's DHTML scroller scrip ] here
[ Always On Top Content BODY Script ] here
07-27-2002, 09:05 PM
So leave the window.onscroll=staticize intact?
and just revise the two others and add all 3 scripts to the body of the document.
Is that correct?:rolleyes:
07-29-2002, 09:11 AM
yes, just make sure to follow the direction on each script exactly, and place the script in the page like i have posted above(in that order). onscroll is not onload event...you cannot(no need to) combine them.
ps. these script will only will work in IE
07-29-2002, 12:37 PM
did it on Saturday. Works great!