Closed Thread Icon

Topic awaiting preservation: If Flash else pic Pages that link to <a href="https://ozoneasylum.com/backlink?for=22427" title="Pages that link to Topic awaiting preservation: If Flash else pic" rel="nofollow" >Topic awaiting preservation: If Flash else pic\

 
Author Thread
The Jackal
Paranoid (IV) Inmate

From: The Dark Side of the Moon
Insane since: Jun 2000

posted posted 07-04-2004 08:43

I am a novice at JS, so I need a reminder here. I know you can use an if/else statement to make sure that if a person has the Flash plugin to show a flash file, or else it will show an image like a gif or jpg. For the life of me I cannot recall the method to check if a browser has the flash plugin. Can I get bone tossed my way?

tntcheats
Nervous Wreck (II) Inmate

From: BC, Canada
Insane since: Jun 2004

posted posted 07-04-2004 08:51

This should help you


The other other other other other white meat.

slim___shady
Nervous Wreck (II) Inmate

From: canada
Insane since: Aug 2002

posted posted 07-06-2004 23:37

[object type="application/x-shockwave-flash" data="c.swf?path=movie.swf" width="400" height="300"]
[param name="movie" value="c.swf?path=movie.swf" /]
[!-- Display an image if no Flash --]
[img src="noflash.gif" width="200" height="100" alt="" /]
[/object]

also see http://www.alistapart.com/articles/flashsatay/

« BackwardsOnwards »

Show Forum Drop Down Menu