# Pop up control ("I'm here")

**URL:** <https://forum.kirupa.com/t/pop-up-control-im-here/241230>\
**Category:** Uncategorized\
**Created:** [October 11, 2007, 8:39am UTC](https://forum.kirupa.com/t/pop-up-control-im-here/241230 "2007-10-11T08:39:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![masskontroll](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@masskontroll](https://forum.kirupa.com/u/masskontroll)\
**Post date:** [October 11, 2007, 8:39am UTC](https://forum.kirupa.com/t/pop-up-control-im-here/241230/1 "2007-10-11T08:39:17Z")

</div>

Hi there, I need to make a button which opens a pop-up of particular size and place on the screen. I know the code for a standard pop-up is:

button.onPress = function () {  
getURL(“[http://www.somesite.com](http://www.somesite.com)”, “\_blank”);  
};

But how can I pre-determin the dimensions in pixels of the pop-up (say, 400px x 400px) and let it appear in the center of the screen, no matter what size screen the user has? As always - any help MUCH appreciated! Thanks
