Forum Moderators: open
HTML Text Link - not blocked:
onclick="mapPopUp('maps.asp?Map=Cabolucas','popupwindow',800,700,0,0)"
Original Flash - blocked:
on (release) {getURL("javascript:mapPopUp('maps.asp?Map=Cabolucas','popupwindow',800,700,0,0)");
}
So even though they are using the same basic script, IE blocks the Flash pop-ups but allows the HTML pop-ups. I found an alternate Flash pop-up method online, that both defines and calls the pop-up function in Flash, rather than defining the function in HTML and calling it in Flash:
Revised Flash - still blocked:
on (release) {
getURL ("javascript:NewWindow=window.open('maps.asp?Map=Cabolucas','newWin','width=700,height=900,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus();void(0);");
}
I put the revised Flash with the link above on a blank HTML page, and didn’t get any pop-up errors in IE. BUT once I put the map on the page where its intended, the pop-up errors return.
Any ideas? Is there better a way to create the pop-ups in Flash, and avoid the IE pop-up errors?
Thanks!