Shoutbox

Image Substitute if Flash not installed - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Image Substitute if Flash not installed (/showthread.php?tid=56036)

Image Substitute if Flash not installed by Salem on 02-19-2006 at 09:57 PM

Can anyone tell me how i can have a webpage display a substitute image (JPG, GIF or PNG) in the place of animated Flash content if Flash Player is not installed? Kinda like MsgPlus.net & MsgPlusLive.net does.

Thanks


RE: Image Substitute if Flash not installed by Dempsey on 02-19-2006 at 10:08 PM

Well if msgplus.net and msgpluslive.net do it, surely you can just look in the source code?


RE: Image Substitute if Flash not installed by prashker on 02-19-2006 at 10:09 PM

try these

http://slideshowpro.net/forum/viewtopic.php?id=376

http://www.w3.org/WAI/GL/WD-WCAG10-NONW3C-TECHS-2.../#flash-alt-images

http://www.frontpagewebmaster.com/m-104927/tm.htm


RE: Image Substitute if Flash not installed by matty on 02-19-2006 at 10:15 PM

http://msgpluslive.net/gfdd_flash.js

code:
<script type="text/javascript" src="gfdd_flash.js"></script>

<div id="flashsoon">
<a href="http://www.msgplus.net" title="Click to go to msgplus.net"><img src="soon_alt.png" alt="Messenger Plus! Live is coming soon"/></a>
</div>

<script type="text/javascript">
// <![CDATA[
       
    var fo = new FlashObject("soon.swf", "soon", "100%", "100%", "8", "#ffffff");
    fo.addParam("menu", "false");
    fo.write("flashsoon");
       
// ]]>
</script>

View source works like a wonder :P
RE: Image Substitute if Flash not installed by Dempsey on 02-19-2006 at 10:18 PM

quote:
Originally posted by Matty
View source workse like a wonder :p
Exactly what I said, except I was too lazy to actually go find the code :p
RE: Image Substitute if Flash not installed by Salem on 02-19-2006 at 10:23 PM

Ok, yes your are right. I normally do just look in source code, but wasn't sure if it'd show proper code if it a PHP page. So i admit i didnt even try looking.

Sorry, but thanks for the suggestions and help

~Salem(@)