PDA

View Full Version : 2 Popups in Explorer not working?


Pereira
03-26-2008, 09:53 PM
Hi, I have a button Flash CS3 with:
on (release) {
getURL("JavaScript:popup1();");
getURL("JavaScript:popup2();");
}

and in my html page these:
<SCRIPT LANGUAGE="JavaScript">
function popup1() {
popup_1 = window.open('news01.html','popup_1','toolbar=no,lo cation=no,directories=no,status=no,menubar=no,scro llbars=no,resizable=no,width=567,height=401,left=0 ,top=0');
}
</script>

<SCRIPT LANGUAGE="JavaScript">
function popup2() {
popup_2 = window.open('news02.html','popup_2','toolbar=no,lo cation=no,directories=no,status=no,menubar=no,scro llbars=no,resizable=no,width=567,height=401,left=5 00,top=400');
}
</script>

the problem is that it is working normaly in MACH in all browsers BUT in PC only in Mozilla/Firefox.... and NOT WORKING in EXPLORER.

someone knows why?
thanks

atomic
03-26-2008, 09:57 PM
Popup blocker on?

Pereira
03-26-2008, 10:12 PM
No. is not the blocker!
The IE opens 1 popup, not both like the others browsers.

atomic
03-26-2008, 10:21 PM
You know IE is really a shitty browser...

You could possibly solve it by using the onPress handler for the firstpopup, and onRelease for the second one...

Or open the second one from a body onLoad handler within the first popup's .html...

Pereira
03-26-2008, 10:47 PM
No, no way to work so far..... unfortunately we do have to deal with IE.
Any other idea?

Pereira
03-27-2008, 05:37 PM
no one?
any idea is welkome!!!