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

Auto resize browser window

Status
Not open for further replies.

Sardamil

Programmer
Apr 14, 2001
77
NL
I'm sorry to have to ask this. People have been asking about this a lot, but I didn't find what I was looking for.

I want to maximise the browser window, regardless of browser or resolution. Can anybody help me with a script that makes this possible?
 
Hello,

It's very easy,just insert this script in to your head-session:
<script>
if(window != top){top.location.href=location.href}
window.moveTo(0,0);window.resizeTo(screen.width,screen.height)
</script>

My site:
 
Thank you. I also bookmarked your site. I think you'll find me cruising around there soon.
 
screen.width,screen.height shopuld be changed to

screen.availWidth,screen.availHeight
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top