Hi there! i’m having a problem with a javascript popup window not working in IE. It seems to be the getUrl and an active X issue. It works fine in FF and Safari. When i try it in IE the javascript transparent overlay shows up, but the pop up window does not open.:puzzled:
After reading post after post it seems that I either I need to be using an FSCommand with a VB Script for ie, or ExternalInterface class which is way beyond my comprehension at this point unfortunately. I have tried several things on my own as well, and can’t get anything to work.
I was wondering if someone here had a moment to either lead me in the write direction or help me change the code I have into what will work for IE? There are a few others having the same problem that you would be helping immensly!!
Here’s my AS code (the obvious)…
on (release) {
getURL("javascript:LightboxDelegate1('images/eyes1.jpg','Editorial & Promotional')");
}
and here’s the code I have in my html file…
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript">
function LightboxDelegate1(url,caption) {
var objLink = document.createElement('a');
objLink.setAttribute('href',url);
objLink.setAttribute('rel','lightbox[editorial]');
objLink.setAttribute('title',caption);
Lightbox.prototype.start(objLink);
}
</script>
</head>
<body bgcolor="#808160">
<!--url's used in the movie-->
<a href="contact.html"></a>
<a href="images/eyes1.jpg" rel="lightbox[editorial]" title="Editorial"></a>
<a href="images/eyes2.jpg" rel="lightbox[editorial]" title="Editorial"></a>
<a href="images/eyes3.jpg" rel="lightbox[editorial]" title="Editorial"></a>
<a href="images/80s1.jpg" rel="lightbox[editorial]" title="Editorial"></a>
<a href="images/80s2.jpg" rel="lightbox[editorial]" title="Editorial"></a>
<a href="images/red1.jpg" rel="lightbox[editorial]" title="Editorial"></a>
<a href="images/red2.jpg" rel="lightbox[editorial]" title="Editorial"></a>
<div style="text-align:center; background: url(images/head.jpg) no-repeat top;">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="990" height="520" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="movie" value="home.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#808160" />
<embed src="home.swf" quality="high" bgcolor="#808160" width="990" height="520" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<p style="font-family: arial; font-size: 9px; color:#333; padding-top:20px;">This site, unfortunately, does not currently work on IE (Internet Explorer) due to it's lack of Active X. We are currently working on getting this fixed. You can view it on Safari or Firefox. If you do not have one of these browsers, you can download <a href="http://www.mozilla.com/en-US/">Firefox free here</a>!</p>
</div>
</body>
The site is www.saldestro.com if that helps
THANK YOU in advance!!!