Avatar of davidgm
Flag for Canada

asked on 

Detect whether Flash is supported and display the appropriate <div>

I need to detect whether a browser supports Flash and then display the appropriate div within a web page. The div will just contain an image link. For example:

Detect whether flash is supported

if supported:
<div id="flash">
a link to flash content web page

if not supported:
<div id="Other">
a link to non flash content page (pdf)

You quick reply is deeply appreciated.
CSSScripting LanguagesJavaScript

Avatar of undefined
Last Comment

8/22/2022 - Mon