Forum Moderators: open

Message Too Old, No Replies

Iframe stops pop up working in IE

         

rushglen

12:40 am on Apr 22, 2006 (gmt 0)

10+ Year Member



I have an iframe and a pop up and the pop up won't work unless you remove the iframe, all you get is a "boing" sound when clicking on the pop up link. This only occurs on IE6, Firefox is ok. Pop up blocking is disabled, security settings are "medium". I have another PC running IE6 (XP) and the same problem. My son's laptop (XP) and IE6 renders the popup correctly and also has the same "medium" security settings. I can't be certain but this iframe/popup incompatibility was not a problem last week... I suspect it's arisen since the last automatic windows updates.

Any suggestions?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<script language="JavaScript" type="text/javascript">
function popUp2(theURL, windowName, windowFeatures) {
var newWin = window.open(theURL, windowName, windowFeatures);
}
</script>
</head>

<body>
<p>
<iframe src='blank.html' id='test' name='test' width='500px' height='50px'></iframe>

<p><a href="blank.html" onClick="popUp2('blank.html', 's1', 'width=430,height=400,toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollBars=0,resizable=1,ScreenX=5,Left=5,ScreenY=5,Top=5,' ); return false;">PopUp Test</a>

</body>
</html>

rushglen

12:11 am on Apr 25, 2006 (gmt 0)

10+ Year Member



Found the problem. I had another popup blocker in effect in some software installed via my ISP (also include virus,spyware and firewall) so after disabling the popup blocker in IE and the IE google toolbar there was also a third popup blocker working.

Strange thing is that this was disabling a user selected (onClick) popup if there was an iframe present in the page. I re-eneabled popup blocking in IE and the IE google toolbar and it still worked so it would appear that the popup blocker in my ISP's software was definately the problem.