Below is what I am trying to do so far, but I am having problems actually getting it to work. I don't know the sytax in showing the image within the script.
FlashErkennung von Flash Planet is the script I'm trying to use.
<html>
<body>
<SCRIPT LANGUAGE="JavaScript">
<!--
var useFlash = navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"] &&
navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;
//-->
</SCRIPT>
<SCRIPT LANGUAGE="VBScript">
<!--
On error resume next
useFlash = NOT IsNull(CreateObject("ShockwaveFlash.ShockwaveFlash"
)
-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
if ( useFlash ) {
<p><font size="7" face="OCRB"><embed width="129" height="65" src="images/eedi.swf"></font></p>;
} else {
<p><img border="0" src="images/eedi.gif" width="130" height="55"></p>;
}
//-->
</SCRIPT>
</body>
</html>
FlashErkennung von Flash Planet is the script I'm trying to use.
<html>
<body>
<SCRIPT LANGUAGE="JavaScript">
<!--
var useFlash = navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"] &&
navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;
//-->
</SCRIPT>
<SCRIPT LANGUAGE="VBScript">
<!--
On error resume next
useFlash = NOT IsNull(CreateObject("ShockwaveFlash.ShockwaveFlash"
-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
<!--
if ( useFlash ) {
<p><font size="7" face="OCRB"><embed width="129" height="65" src="images/eedi.swf"></font></p>;
} else {
<p><img border="0" src="images/eedi.gif" width="130" height="55"></p>;
}
//-->
</SCRIPT>
</body>
</html>