You know those pages like geocities that keep a layer on the page as you scroll? Do it like that.
Basically, you get the DOSC (document offset scroll co-ordinates)
Then, when you refresh, you feed that value back to your script:
The value is either:
--IE --
var dosc=document.body.scrollTop;
-- Netscape --
var dosc=window.pageYOffset;
setTimeout("this.location.href='page.php?dosc=' + dosc",10000);
Then, in page.php, javascript scrolls back there:
self.scrollTo(0,<?php echo $dosc; ?>);
Check out this URL:
http://javascriptkit.com/javatutors/static2.shtml
Gimme an email and let me know how it went 🙂 It's untried and untested.
phpboi@spacecat.com