Saturday, 15 February 2014

html - Displaying a image if no flash installed? -



html - Displaying a image if no flash installed? -

i having problem displaying image if no flash installed. maintain getting weird charcters displaying in scrolling window. here code:

<style> #myflashmovie { background: url("image/year.gif"); background-repeat: no-repeat; height: 300px; width: 460px; } </style> <div id="myflashmovie"> <object type="application/x-shockwave-flash" style="height: 300px; width: 460px;" data="460x300.swf" > <param name="movie" value="460x300.swf" > <param name="allowfullscreen" value="true" > <param name="wmode" value="transparent" > </object> </div>

you can observe flash install or not jquery , show image

var hasflash = false; seek { var fo = new activexobject('shockwaveflash.shockwaveflash'); if(fo) hasflash = true; }catch(e){ if(navigator.mimetypes ["application/x-shockwave-flash"] != undefined) hasflash = true; }

html flash

No comments:

Post a Comment