Log in

View Full Version : TOP of PAGE



Rockstar
02-09-2007, 09:01 AM
What is it If tryed
javascript:window.top(); because javascript:window.close(); closes a window but it just dosent work can anyone help me.
Thanks.

Eric30
02-09-2007, 09:24 AM
no javascript,

put this
<a name="top"></a>

under yout <body> tag and make a link to #top ie:
<a href="#top">Back to top</a>

Rockstar
02-09-2007, 09:30 AM
no javascript,

put this
<a name="top"></a>

under yout <body> tag and make a link to #top ie:
<a href="#top">Back to top</a>
Hmm dosent work.

Eric30
02-09-2007, 09:34 AM
It works fine, you must be doing something wrong.

in your HTML where your <body> is,

put:

<body>
<a name="top"></a>

then

somewhere at the bottom of the page add the link:

<a href="#top">Back to top</a>

Invent
02-09-2007, 02:06 PM
orrrr.

onClick="scroll(0, 0)"

:)

Want to hide these adverts? Register an account for free!