Wells-it.com - Web Hosting

Script to show picture insted off flash animation

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

He has: 8 posts

Joined: Nov 2005

Hi

I'm building a website that has a flash-element that shows different pictures every two seconds.
Some users don't have flash-plugins installed in theirs browsers. For those users I want to show a
static picture.
Is there a script that can check if the users has a flash plugin. If not, the script has to show a static picture.

A lot of thanks.

Accessko

Megan's picture
Administrator

She has: 10,288 posts

Joined: Jun 1999

Try swfobject:

http://code.google.com/p/swfobject/

I'm using this on one of my sites. It actually just doesn't show anything if flash isn't available. I put in a static image as a CSS background on the div where the flash is placed. That way if the user doesn't have flash, the static image is shown. Otherwise the flash is put in on top of the static image.

decibel.places's picture

They have: 668 posts

Joined: Jun 2008