homepage Welcome to WebmasterWorld Guest from 174.129.163.183
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
If user doesn't have flash installed, then show image instead
Can this be done?
PFOnline




msg:1565636
 9:42 pm on Nov 13, 2003 (gmt 0)

I know supposedly 97% of all internet users have Flash installed, but I'm still worried about that 3% that don't...

I'm wondering if there's a way to show the flash animation if the user has flash installed, but if no flash is detected, to show a .GIF image in place of the .SWF?

It is important that the .GIF be showed in the same position/place on the page where the .SWF would be shown.

Anyone know to do this? :)

 

Sinner_G




msg:1565637
 7:59 am on Nov 14, 2003 (gmt 0)

This is quite easy to do with Javascript. Just go to your favourite search engine and search for flash detection script.

I'm quite sure there are solutions somewhere on this site, but can't find them right now.

hafnius




msg:1565638
 2:51 pm on Nov 14, 2003 (gmt 0)
HI

There is an excellent article on this here http://www.#*$!.com/articles/flashsatay/ it explains how to serve flash content and at the same time be XHTML compliant.

Furthermore, and this is were it gets interesting, it explains the cascading capacity of the <OBJECT> element were it will try to parse the next child element if it cant load the flash. That next element could be an image or text.

Take a look at it i was surprised and very glad to see how much could be done without all that ugly Javascript.

Kind Regards
/Hafnius

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved