Forums

This topic is locked

question about layers and plugin detection

Posted 04 Nov 2003 18:36:44
1
has voted
04 Nov 2003 18:36:44 Patrick DiMichele posted:

hey there -

i'm wondering if it's possible to check for a plugin (in this case Flash) and based on the result show/hide a layer.

i'm putting together a page that features a layer containing a flash movie which floats over the content of the page. the flash piece is set on a transparency and provides supplemental information about the other elements on the page. so basically, it's non-essential and not something an alternate gif could replicate.

so what i'd like to do is this: set up the page exactly as described above with a layer floating over my content area. onload i'd like to check for the flash plugin - if there, show my layer (&lt;div&gt<img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle> if no plugin, hide layer.

this seems pretty straightforward to me, but my javascript isn't very good and i'm having a lot of difficulty.

any thoughts?

Reply to this topic