View Full Version : Jump in the page after loading ...

01-17-2003, 12:58 AM
I would like to add a function that jump to a specific position in the page after loaded.

in HTML, <A href="#there">link</A> where I've got a tag like <span id="here">bla bla </span> performs what I want to achieve ....

Here I would like to have a function called after loading ( <body onload="Jump();"> ..... ) that jump to a specific position.

Any idea ????

Thank for your valuable help

01-17-2003, 01:05 AM
there is a function called
mabey that will be of use, you could use it like this

01-17-2003, 01:08 AM
You are right but how could I know that it is 50 and not 75 ....

all my pages are built dynamically ... so I do not know in advance where to jump (I know only that the line as the id marked)

Any idea ???

01-17-2003, 03:44 AM
Hi Freddy Bee,

<BODY onload="location.hash='here'">
<A name="here">here</A>

( ) ( )