How can I make a local HTML page open at a fixed browser size?

  • Thread starter Thread starter John W
  • Start date Start date
J

John W

Guest
My company has a project that involves using an HTML page as a menu for items that are going to be distributed on a CD. Due to artwork constraints, the editor/manager wants the browser to open at a fixed size. This needs to function in IE6, IE7, and FF3.

I am aware of using javascript with the resizeTo() function, but IE6 and IE7 complain about possible security issues -- related to running javascript from a page on your local machine -- when the page initially opens, and thus it does not get resized unless the client clicks 'allow scripts from this page'.

This obviously is not an ideal solution.

What I'm looking for is information regarding parameters we could pass to IE (or FF), that would open the browser window at a preset size, as part of the autorun file.

Something along the lines of:

"C:\Program Files\Internet Explorer\iexplore.exe" -x 1024 -y 768

I don't know where to look for this information, though, or if it is possible.

Thanks!
 
Back
Top