| |
JMBo
Posts: 1
Score: 0
Joined: 11/16/2001
From:
Status: offline
|
Hi- I have a screen that I am refreshing every couple of min but I want it to return to the location the user was on. I have included some code. I am having problems getting reading xposition and yposition from the previous form. What am I doing incorrect? Thanks JB <meta HTTP-EQUIV="Refresh CONTENT="60;URL=UnitsState.asp?All"> <BODY style="margin:0px;padding:10px;background-color:white;font-family:arial; color:black; font-size:70%" OnUnload="RefreshScreen()"> <input type=hidden name=yposition id=yposition> <input type=hidden name=xposition id=xposition value =" <%Request.Form("xposition") %> " >" <SCRIPT LANGUAGE="VBScript"> <!-- sub RefreshScreen() document.form1.xposition.value = document.body.scrolltop document.form1.yposition.value = document.body.scrollleft end sub --> </SCRIPT>
|
|