# Javascript in IE issue

**URL:** <https://forum.kirupa.com/t/javascript-in-ie-issue/190806>\
**Category:** web dev\
**Created:** [June 14, 2006, 8:35pm UTC](https://forum.kirupa.com/t/javascript-in-ie-issue/190806 "2006-06-14T20:35:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![revelations1318](https://avatars.discourse-cdn.com/v4/letter/r/8c91f0/32.png) [@revelations1318](https://forum.kirupa.com/u/revelations1318)\
**Post date:** [June 14, 2006, 8:35pm UTC](https://forum.kirupa.com/t/javascript-in-ie-issue/190806/1 "2006-06-14T20:35:46Z")

</div>

I’m using popups in a website. I’ve saved all the js in main.js and linked to it within the header. The popups both work fine with Firefox, but either don’t work in IE or come up identifying an error. Help!  
here’s the content of main.js:

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

function privacy() {  
window.open(“privacy.htm”,“Privacy and Disclaimer”,“status=0,toolbar=0,menubar=0,resizable=0,scrollbars=1,width=400,height=400”);  
}
