homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

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?

10+ Year Member

Msg#: 133 posted 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? :)



WebmasterWorld Senior Member 10+ Year Member

Msg#: 133 posted 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.


10+ Year Member

Msg#: 133 posted 2:51 pm on Nov 14, 2003 (gmt 0)

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

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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved