# Flashcalled popup (with js) doesnt work online

**URL:** https://forum.kirupa.com/t/flashcalled-popup-with-js-doesnt-work-online/73682
**Category:** Uncategorized
**Created:** [December 19, 2004, 12:38pm UTC](https://forum.kirupa.com/t/flashcalled-popup-with-js-doesnt-work-online/73682 "2004-12-19T12:38:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ShinFu](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@ShinFu](https://forum.kirupa.com/u/ShinFu)
#### Post date: [December 19, 2004, 12:38pm UTC](https://forum.kirupa.com/t/flashcalled-popup-with-js-doesnt-work-online/73682/1 "2004-12-19T12:38:54Z")

</div>

hi

i have used the launch centerd popup tutorial in my site  
and it works perfectly using:  
firefox / offline  
firefox / online  
ie / offline

but not

**ie / online**

…is there an answer out there for this problem?  
the code:

```auto
_global.openWinCentre = function(url, winName, w, h,
toolbar, location, directories, status, menubar,
scrollbars, resizable) {getURL("javascript:
window.open('"+url+"','"+winName+"',
'"+"width="+w+",height="+h+",toolbar="+toolbar+",location=
"+location+",directories="+directories+",status="+status+",
menubar="+menubar+",scrollbars="+scrollbars+",resizable="+
resizable+",top='+((screen.height/2)-("+h/2+"))
+',left='+((screen.width/2)-("+w/2+"))+'"+"');
void(0);");};

```

```auto
on (release) {
	
	address = "http://www.whatever.com/sub/gallery.htm";
	target_winName = "gallery";
	width = 540;
	height = 360;
	toolbar = 0;
	location = 0;
	directories = 0;
	status = 0;
	menubar = 0;
	scrollbars = 0;
	resizable = 1;
	//call function with parameters
	openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}

```

tried a few variations… but none of them work  
and i am tired and sick of this

thx
