# Javascript popups and IE woes

**URL:** <https://forum.kirupa.com/t/javascript-popups-and-ie-woes/185067>\
**Category:** Uncategorized\
**Created:** [April 10, 2006, 6:08pm UTC](https://forum.kirupa.com/t/javascript-popups-and-ie-woes/185067 "2006-04-10T18:08:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ginsengdesign](https://avatars.discourse-cdn.com/v4/letter/g/278dde/32.png) [@ginsengdesign](https://forum.kirupa.com/u/ginsengdesign)\
**Post date:** [April 10, 2006, 6:08pm UTC](https://forum.kirupa.com/t/javascript-popups-and-ie-woes/185067/1 "2006-04-10T18:08:13Z")

</div>

I’ve got this expression for popups in my flash animation:

```auto
renderButton.onRelease = function() {
    getURL("javascript:popUpWindow('renderings.html', 10, 10, 670, 495);");
};

```

and this javascript in my HTML doc:

```auto
<script language="JavaScript">
var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}
</script>

```

This works super in everything but PC Internet Explorer. Sometimes in IE it will just put “javascript:popUpWindow(‘renderings.html’, 10, 10, 670, 495);” in the browser URL bar and nothign will happen. What could be causing this? Is there anything I can tweak in my AS or JS to alleviate this problem?

Thanks!
