Click to See Complete Forum and Search --> : Reload
Hello, I need some help with a script that reloads(refresh) a page but att the same time let me stay at the same position on the page. Everything that I've tried takes me to the top of the page again.
THX
//Uffe
I'm not sure if this is what you mean. This is how I want the page to work, but the code doesn't take me to the position?
<script language="JavaScript" type="text/JavaScript">
<!--
function _reload() {
var pos = (document.all) ? document.body.scrollTop : window.pageYoffset;
self.location.href = self.location.href + "?pos=" + pos;
}
function Timer() {
setTimeout("_reload()", 15000)
}
//-->
</script>
</head>
<body onLoad="Timer()">