PDA

View Full Version : SWF Object not working with IE7


ryancanulla
10-14-2008, 05:22 PM
Hi there. Can anyone help?


<script type="text/javascript" src="swfobject.js"></script>


<div style="margin-top:25px;">
<script type="text/javascript">
swfobject.embedSWF("iamBiotechLink.swf", "myContent", "341", "139", "9.0.0");
</script>

</div>

<div class="box-right" id="myContent">
<!-- Alternative content - displayed if the user doesnt have javascript/flash - works off of the SWF Object -->
<h3 style="font-size:20px;">i am biotech</h3>

<div class="box-right-content">

<ul>
Sometimes fact is wilder than fiction.
Find out how biotech is expanding the boundaries of science.<br /><br />
<a href="http://www.iambiotech.org">www.iambiotech.org</a>
</ul>

</div>

<div class="box-right-bottom"></div>

</div>

mattkenefick
10-14-2008, 05:38 PM
Try putting the tags either after the DIV or in an Body.onLoad event.

Also, there is a new version of SWFObject out which changes syntax of how you load it a little, but it's worth looking into!

ryancanulla
10-14-2008, 05:53 PM
I am using SWF object 2.1; that is the latest and greatest no?

Can you explain what you meant by ad DIV tags?

Thanks for the help!