# Pop-up window

**URL:** https://forum.kirupa.com/t/pop-up-window/95103
**Category:** Uncategorized
**Created:** [November 20, 2003, 4:59pm UTC](https://forum.kirupa.com/t/pop-up-window/95103 "2003-11-20T16:59:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![outro\_lugar](https://avatars.discourse-cdn.com/v4/letter/o/35a633/32.png) [@outro\_lugar](https://forum.kirupa.com/u/outro_lugar)
#### Post date: [November 20, 2003, 4:59pm UTC](https://forum.kirupa.com/t/pop-up-window/95103/1 "2003-11-20T16:59:25Z")

</div>

I know how to make a pop-up browser from a button with getURL(“[www.site.com](http://www.site.com)”, \_blank),  
but I want to be able to control the size of the window. I either want to set it to a specific size, or better, to get the window to automatically resize itself to the size of the random picture it loads. How do I do it?
