Jump to content

Making a flash video a link in IE.


jwwceo

Recommended Posts

Hello All,

 

I have a flash ad on a website that does not want to act as a link in IE, no matter what I do.  Right now the link is set to work as an onclick even on the container div for this ad. I have tried this code in FF and chrome and it works fine. It also works in IE if I just get rid of the object, and click on the empty DIV that is supposed to hold the video. So something about the object inside the DIV is not working in IE. Any ideas???

 

 

<div style="width:300px; height: 250px; cursor: pointer;" onClick="window.location.href='content.htm'">

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="300"
height="250"
id="bl1414_easton_ads_300x250_01"
align="middle">

<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://mysite.net/flash_ads/easton/bl1414_easton_ads_300x250_01.swf" />
<param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />

<embed src="http://mysite.net/flash_ads/easton/bl1414_easton_ads_300x250_01.swf"
quality="high"
bgcolor="#ffffff"
width="300"
height="250"
name="bl1414_easton_ads_300x250_01"
align="middle"
allowScriptAccess="sameDomain"
allowFullScreen="false"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
wmode="transparent"/>
</object>


</div>

 

James

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.