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

Maximise onLoad

Status
Not open for further replies.

emozley

Technical User
Joined
Jan 14, 2003
Messages
769
Location
GB
Hi,

Is it possible to make a window maximise itself as soon as it loads?

cheers

Ed
 
And if you do it to me, I will not visit your web site again. I absolutely HATE that behavior!


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
It's purely for aesthetic purposes - I have an ASP page that runs on each user's PC when they log in each morning that adds their PC details to an asset register.

I wanted a way of guaranteeing that the messages telling the user what was going on were in the middle of the screen so they couldn't miss it and not close it down.

Having done a bit more research though I see there are a lot of people out there that aren't keen on the idea!

In the end I used:

<script Language="javascript">self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);</script>

cheers

Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top