For Programmers: Free Programming Magazines  


Home > Archive > ASP > January 2007 > Jump down on a page









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Jump down on a page
Rolf Rosenquist

2007-01-14, 6:56 pm

I have an asp page, where under special circumstances, I want the page to
scroll down a bit. I know how to set up the conditions, but how do I get the
page to scroll down to an anchor further down when the it loads?

/ Rolf


David Shorthouse

2007-01-14, 6:56 pm

One could use javascript to scroll down a certain amount in <body
onload="window.scrollBy(0,400);">, which could be constructed server-size
with an incoming querystring.

--
______________________________
Remove "_SPAM" to reply directly.
"Rolf Rosenquist" <rolf@nomail.com> wrote in message
news:%23Bp8SUDOHHA.4376@TK2MSFTNGP02.phx.gbl...
>I have an asp page, where under special circumstances, I want the page to
> scroll down a bit. I know how to set up the conditions, but how do I get
> the
> page to scroll down to an anchor further down when the it loads?
>
> / Rolf
>
>



Rolf Rosenquist

2007-01-14, 9:56 pm

Thanks David, it works beautiful!
/ Rolf



"David Shorthouse" <davidshorthouse@shaw_SPAM.ca> skrev i meddelandet
news:uwlMkdDOHHA.4928@TK2MSFTNGP06.phx.gbl...
> One could use javascript to scroll down a certain amount in <body
> onload="window.scrollBy(0,400);">, which could be constructed server-size
> with an incoming querystring.
>
> --
> ______________________________
> Remove "_SPAM" to reply directly.
> "Rolf Rosenquist" <rolf@nomail.com> wrote in message
> news:%23Bp8SUDOHHA.4376@TK2MSFTNGP02.phx.gbl...
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com