Thursday, March 29, 2012

Opening size for the browser

Is there a way to control the opening size of the browser?There are 2 ways, actually. One is, when opening the browser from another
browser instance, using the JavaScript window.open method. The other is to
size it after it opens using JavaScript and setting various properties of
the document object.

Example:

<script type="text/javascript">
window.resizeTo(250, 250);
</script>

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

What You Seek Is What You Get.

"Greg Smith" <gjs@.umn.eduwrote in message
news:ep7V%237NrGHA.1796@.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

Is there a way to control the opening size of the browser?
>

0 comments:

Post a Comment