What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Image Substitute if Flash not installed

Image Substitute if Flash not installed
Author: Message:
Salem
Senior Member
****

Avatar

Posts: 769
Reputation: 16
37 / Male / Flag
Joined: May 2004
O.P. Image Substitute if Flash not installed
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
[Image: salem874.smart.jpg][Image: card.png]
Was i Helpful?[/url]
02-19-2006 09:57 PM
Profile PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
37 / Male / Flag
Joined: Jul 2003
RE: Image Substitute if Flash not installed
Well if msgplus.net and msgpluslive.net do it, surely you can just look in the source code?
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
02-19-2006 10:08 PM
Profile E-Mail PM Web Find Quote Report
prashker
Veteran Member
*****


Posts: 5109
Reputation: 104
– / Male / –
Joined: Mar 2005
Status: Away
RE: Image Substitute if Flash not installed
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
02-19-2006 10:09 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Image Substitute if Flash not installed
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

This post was edited on 02-19-2006 at 10:18 PM by matty.
02-19-2006 10:15 PM
Profile E-Mail PM Find Quote Report
Dempsey
Scripting Contest Winner
*****

Avatar
http://AdamDempsey.net

Posts: 2395
Reputation: 53
37 / Male / Flag
Joined: Jul 2003
RE: Image Substitute if Flash not installed
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
SoundPacks   -   Scripts   -   Skins

that's not a bug, thats an unexpected feature
02-19-2006 10:18 PM
Profile E-Mail PM Web Find Quote Report
Salem
Senior Member
****

Avatar

Posts: 769
Reputation: 16
37 / Male / Flag
Joined: May 2004
O.P. RE: Image Substitute if Flash not installed
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(@)
[Image: salem874.smart.jpg][Image: card.png]
Was i Helpful?[/url]
02-19-2006 10:23 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On