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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to call windows.resizeTo() only once

Status
Not open for further replies.

ishine

Programmer
Nov 26, 2008
1
US
I'm trying to make the windows.resizeTo() function to occur only once. Currently it's called everytime I load or refresh the page. Here's the code:

<body onload="window.resizeTo(600,400);">

I don't want it to go back to 600x400 when I refresh the page. How do I achieve this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top