Welcome to WebmasterWorld Guest from 54.196.116.152

Forum Moderators: open

Message Too Old, No Replies

Targeting the control to top

JavaScript

     
6:47 am on Mar 19, 2002 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 13, 2002
posts:61
votes: 0


Is there any Javascript code targeting to the top of the page.
(Not internal branching using anchor tags)
8:09 am on Mar 19, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 4, 2001
posts:1265
votes: 12


You could force a scroll to the top.
8:39 am on Mar 19, 2002 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 13, 2002
posts:61
votes: 0


Hai Kelly,

It works fine now.

I tried
onclick="javascript:scroll(0,0)

It takes me to the top of the page in all browsers.

:)