Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

self.scrollTo(300, 0) without using the body onLoad, any ideas?

Status
Not open for further replies.

neoBinary

Programmer
Joined
Jan 17, 2003
Messages
7
Location
GB

Clearly I want to have my page load with the top left hand corner at 300,0. When I page I really mean pages, this is why I am not that happy about having to update everyone of them with self.scrollTo(300,0) statement in the body onLoad property.

Is there a way that I can do this with pure JavaScript and have it centralised in just place?

Thanks for any help, I'm a newbie to JavaScript.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top