With the recent problems with users having to activate a flash file by clicking on it with the latest Explorer Update I have used a method
calling it in using Java script as a work around , however when viewed in Firefox nothing loads. Anyone have an idea why? its fine in Explorer
I have a
js file and within it is the following:
- Code: Select all
function Runlimo1()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...ersion=5,0,0,0" width="323" height="115"/>\n');
document.write('<param name="movie" value="flash/intro.swf" />\n');
document.write('<param name="quality" value="high" />\n');
document.write('</object>\n');
}
function Runlimo2()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...ersion=5,0,0,0" width="134" height="50"/>\n');
document.write('<param name="movie" value="flash/crush_btn.swf" />\n');
document.write('<param name="quality" value="high" />\n');
document.write('<param name="bgcolor" value="#CECECE" />\n');
document.write('</object>\n');
}
Then within my document I have the link in the head tags to the
js file
- Code: Select all
<script src="scripts/limo.js" type="text/javascript"></script>
Then this to call the flash in for example
- Code: Select all
<script type="text/javascript">Runlimo1();</script>
Anyone know why nothing loads in Firefox?
Thanks for your help
Chris