troubleshooting Question

Maximize the browser window

Avatar of TerenceHewett
TerenceHewett asked on
Web Development Software
7 Comments1 Solution766 ViewsLast Modified:
Hi Experts,

I was kindly given some help with maximizing the browser window when opening a webpage.  The code works fine on my own PC and opens up to maximize the screen size, although this code does not work on other PC's.  Hmmm....not sure how that can be, unless its a setting on my PC that I am unaware about.

I use IE6.  Other PC's in my office use IE6 or MSN to browse the web.   The PC's that have both IE6 and MSN on them seem to be the main problem areas.  On other PC's, IE6 will open the html page but only show half the screen. In MSN the browser will open the html page but only show a quarter of the webpage.

The code I am using is:


<html><head><script language="Javascript">
window.moveTo(0,0);
window.resizeTo(screen.width,screen.height);
</script>
<body><img src="images/image1.jpg" width="1280" height="1024"></body></html>

Can anybody help me?

Thanks.

Terry
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros