Flash detect
Hi there
Can anyone help me with this bit of javascript: it's a flash detection script but all it seems to do for me is write <'image_bin/noflash.gif' alt='Download Flash Plug In' \/> on the page!
I do have flash installed on my machine but it seems not to be picking it up.
Please find script below:
<script language="javascript" type="text/javascript">
<!-- Hide script from older browsers
if (navigator.plugins["Shockwave Flash"]) {
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0'><param name='movie' value='swf_bin/intro.swf'><emdbed pluginspage='http://www.macromedia.com/shockwave/download/' src='swf_bin/intro.swf'><\/embed><\/object>")
}
else {
document.write("<'image_bin/noflash.gif' alt='Download Flash Plug In' \/>")
}
// End hiding script from older browsers -->
</script>
thanks alot
Adam
|