Link to home
Start Free TrialLog in
Avatar of daydream
daydream

asked on

<NOEMBED> problem

I have a shockwave movie which is refered to in my HTML document through the <EMBED> tag.  For users who do not have the Shockwave plug-in I have provided an animated GIF.

 When I use the <NOEMBED></NOEMBED> tags in a browser which does not have access to the Plug-In, instead of the GIF I get a missing plug-in symbol.  I have also tried a simple test HTML file which displays a text string when the plug-in is not present - this did not work either.  

I have copied numerous examples of how to achieve his from various books and magazines without success.  Furthermore, I have tried using JavaScript e.g:

if (navigator.mimeTypes["application/x-director"])
 // EMBED code goes here
else
 // NON-EMBED code goes here
<!--END -->

This works fine in Netscape 3.0 but produces a 'mimeType is not an array error' in Netscape 2.0.  In addition, I would prefer to avoid using JavaScript since the shockwave or gif animations appear on my opening home page.

I have included the HTML code below.  Your assistance would be greatly appreciated.

<EMBED SRC ="swlogo.dcr" WIDTH=360 HEIGHT=200>

<NOEMBED><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR><TD><IMG SRC="animlogo.gif"></TD></TR>
<TR><TD><IMG SRC="dbkgnd.gif" ALT = "Daydream Interactive"
WIDTH=341 HEIGHT=58></TD></TR>
</TABLE></NOEMBED>

<!-- The second IMG is a static GIF used to reduce the overall size of the image -->
ASKER CERTIFIED SOLUTION
Avatar of sagely1
sagely1

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial