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

Resize Browswer window to Screen Width & Height 1

Status
Not open for further replies.

saw15

Technical User
Jan 24, 2001
468
US
I have created a website that I would like to have open the size of the end users screen resolution (ex 1280 * 1024 etc) as opposed to their last browser setting.

Is this possible?

I was thinking you could use a function in the onload of the body but can't get anything to work as I would think.

Help is appreicated.
 
Code:
<body onload="window.resizeTo(screen.width, screen.height)"></body>

-kaht

...looks like you don't have a job, so why don't you get out there and feed Tina.
headbang.gif
[rockband]
headbang.gif
 
Since your profile suggests that you don't often come back to your posted threads to say "Thank you", I'll just go ahead and say "You're welcome" now.

-kaht

...looks like you don't have a job, so why don't you get out there and feed Tina.
headbang.gif
[rockband]
headbang.gif
 
Actually I try to when possible, just move on to other issues at times and get caught in the weeds.

Thanks.
 
Actually I try to when possible, just move on to other issues at times and get caught in the weeds.

Perhaps people should do the same next time they see a thread started by you.

Christiaan Baes
Belgium

I just like this --> [Wiggle] [Wiggle]
 
Chrissie1, maybe you should move on since your response gives no value to issue at hand. It's a good thing we have programmers like you that never get caught up in deadlines, production or client issues. What a world you must live in.

Thanks again kaht.
 
It'd be interesting to see your reaction if your employer used that excuse next time payday comes around and the accountants are too busy to bother with your paycheck. Consider acknowledging the help you get here as the cost of continuing to get that help.

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top