...

View Full Version : Keeping position of marquee



Serex
06-16-2004, 07:51 AM
I have recently developed a website (www.killuke.com.au) and would like to save the position of the maquee at the bottom every time the page refreshes. Is there anyway this can be done?

thanks

Kor
06-16-2004, 09:58 AM
It theory is possible. The position X of the marquee can be captured as a global variable, let's say var marqX. The value of this variable at a certain time can be passed as paramater through the page location using onload or onrefresh event handler

window.onrefresh=function(){location.href=location.href+'?'+marqX}

Something, like , your case, if refresh when marquee "moved" with 200px
http://www.killuke.com.au/index.html?200px

Build a script which verify if there is a parameter in location and if so, pass that paramater (200 this example) as a start point for your marqee.

Serex
06-16-2004, 11:59 PM
ok ty, will try something along those lines and get back to you



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum