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
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