Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Refreshing Location

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,491
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Refreshing Location
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Refreshing Location - 11/16/2001 6:19:54 PM   
  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>
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Refreshing Location Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts