Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Screen Position

Status
Not open for further replies.

zzfive03

Programmer
Jun 11, 2001
267
Hello, When I load my page from a URL containing querystring values, I would like one of thoes values to contain the current screen position (how far down am I on the page).

When my page loads after the URL has been clicked, I want to have the page jump down to that screen position value.

Does anyone know how I can do this?

(I have done it with an onclick for a <spam></spam>. but I dont know how to put it in my querystring. I guess what I really need to know, is how can I store that value into a VBScript varable so I can pass it?

Thanks for your help in advance.

- - - BELOW IS THE EXISTING VALUE, HOW CAN I CALL THIS INSIDE MY <% %> MARKS? - - -

SUB b_OnClick()
self.myform.aquery.value = 2
self.myform.screenPosition.value = document.body.scrolltop
self.myform.submit()
end SUB
 
faq333-1037

just modify to suit your needs. I draw out a scenario a little different in that example, but everything you need to get it to work is there.

:)
paul
penny1.gif
penny1.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top