Need some help. Pretty simple I think.
I have a vertically long page. So, I want a graphic to stay in the same relative position on the page (top right)
no matter how far down one scrolls.
I know it's possible cuz I've seen it done before. Any suggestions?
Drink on George W.
You will find scripts that do this at both http://www.dynamicdrive.com and http://www.bratta.com/. I personally think Bratta's scripts are the better written ones but they are harder to customize than Dynamic Drive's are.
You probably should have posted this in the client-side forum. At any rate:
Perhaps the following example will be of help:
layerDom.top = eval(ie ? document.body.scrollTop : window.pageYOffset);
layerDom.left = eval(ie ? document.body.scrollLeft : window.pageXOffset);
FinalNote = (Hope this helps.) ? let me know. : have fun :)
<<< ~Dave~ Your post was moved from Web Page Design to Client Side Scripting Forum...WebKat, Senior Advisor >>>
~ Be sure to let us know if Vincent's script has worked! ~ :D
WebKat: If you're listening :)
It's not really a script, but a direction.
Whoops ~ Thanks Vinny for the distinction ~ had too many scripts on my mind that day...:wavey: