# Open new window doesn't work in IE

**URL:** <https://forum.kirupa.com/t/open-new-window-doesnt-work-in-ie/101492>\
**Category:** Uncategorized\
**Created:** [February 10, 2004, 2:35pm UTC](https://forum.kirupa.com/t/open-new-window-doesnt-work-in-ie/101492 "2004-02-10T14:35:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kathari](https://avatars.discourse-cdn.com/v4/letter/k/a183cd/32.png) [@kathari](https://forum.kirupa.com/u/kathari)\
**Post date:** [February 10, 2004, 2:35pm UTC](https://forum.kirupa.com/t/open-new-window-doesnt-work-in-ie/101492/1 "2004-02-10T14:35:27Z")

</div>

Hi  
I am aware parts of this question have been an issue on this site before but I have tried a script that was posted here before and couldn’t make it work…  
i have a page with a small swf-file that should open up a new window with my main site(a flash site) with javascript. It only works in Netscape and Safari, not in Explorer. i am on Mac and I haven’t had achance to test it on PC yet.  
Here is the code:  
[AS]open\_mc.onEnterFrame = function() {  
getURL(“javascript:openWindow(‘artsc.html’,’:::ART SCENICK.NU:::’, ‘toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, width=700, height=376’, top=0, left=0)”);  
delete this.onEnterFrame;  
};  
[/AS]

and in the html I have:  
\<SCRIPT LANUGAGE=“javascript”\>

\<!–  
function openWindow(URL, windowName, windowProperties){  
newWindow=window.open(URL, windowName, windowProperties);  
}  
–\>

\</SCRIPT\>
