Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

If user doesn't have flash installed, then show image instead

Can this be done?

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

Preferred Member

10+ Year Member

joined:Sept 22, 2002
votes: 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? :)

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 27, 2002
votes: 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.

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

Junior Member

10+ Year Member

joined:Apr 21, 2003
votes: 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


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members