# Wtf?

**URL:** <https://forum.kirupa.com/t/wtf/94341>\
**Category:** Uncategorized\
**Created:** [November 11, 2003, 6:52pm UTC](https://forum.kirupa.com/t/wtf/94341 "2003-11-11T18:52:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dynastyjp](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@dynastyjp](https://forum.kirupa.com/u/dynastyjp)\
**Post date:** [November 11, 2003, 6:52pm UTC](https://forum.kirupa.com/t/wtf/94341/1 "2003-11-11T18:52:28Z")

</div>

I’m currently setting my flash to be displayed in a pop up window upon clicking on a button. The javascript works fine but there’s way too much space on the left and not enough on the right I thought it was because it wasn’t centered. But that doesn’t seem to work as well…all my swfs are the same size and everything. I’m stumped it’s really pathetic that this is what’s keeping me from completing this web site…lol? So what are the optimal settings when publishing if you plan on having it displayed in a pop up window?

Javascript:  
//–\>  
\<!-- Begin  
function popUp(URL) {  
day = new Date();  
id = day.getTime();  
eval(“page” + id + " = window.open(URL, ‘" + id + "’, ‘toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=783,height=581’);");  
}  
// End --\>
