Welcome to WebmasterWorld Guest from 54.147.47.239

Forum Moderators: open

Message Too Old, No Replies

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

Can this be done?

     

PFOnline

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

10+ Year Member



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

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

WebmasterWorld Senior Member 10+ Year Member



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

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

10+ Year Member


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

 

Featured Threads

Hot Threads This Week

Hot Threads This Month