# IE7 javascript pop ups

**URL:** <https://forum.kirupa.com/t/ie7-javascript-pop-ups/228203>\
**Category:** flash\
**Created:** [June 6, 2007, 4:16am UTC](https://forum.kirupa.com/t/ie7-javascript-pop-ups/228203 "2007-06-06T04:16:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohan](https://avatars.discourse-cdn.com/v4/letter/r/f19dbf/32.png) [@rohan](https://forum.kirupa.com/u/rohan)\
**Post date:** [June 6, 2007, 4:16am UTC](https://forum.kirupa.com/t/ie7-javascript-pop-ups/228203/1 "2007-06-06T04:16:50Z")

</div>

Hi all,

need really urgent (I wouldn’t normally ask like this but it really is urgent) help with disabling tabs in IE7 so that a javascript pop up will still work.

If a user has set their settings to open in a new tab, is there any way to bypass this? Is this the default setting? My pop up works fine in IE6 and FF2 but IE7 keeps opening in a new tab ☹

please help!

here’s my js:

\<script language=“JavaScript”\>  
function Launch(page, width, height) {  
OpenWin = this.open(page, “ubiqwindow”, “toolbar=no, menubar=no ,location=no, scrollbars=no, resizable=no, width=” + width + “, height=” + height + “, top=” + (screen.height/2 - height/2) + “, left=” + (screen.width/2 - width/2) + “”");  
}  
\</script\>
