homepage Welcome to WebmasterWorld Guest from 54.197.108.124
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Targeting the control to top
JavaScript
T Suresh Babu




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

Is there any Javascript code targeting to the top of the page.
(Not internal branching using anchor tags)

 

IanKelley




msg:1482896
 8:09 am on Mar 19, 2002 (gmt 0)

You could force a scroll to the top.

T Suresh Babu




msg:1482897
 8:39 am on Mar 19, 2002 (gmt 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.

:)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved