Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Flash IE4.0 HTML detection
From: Marcel de Jong
Date: Wed, 25 Oct 2000 13:37:49 +0100

Hi all,

Below is a script that works! Except for IE4.0 (PC)
It shows a flash movie if flash is installed or a clickable imagemap if
there is no flash.

>>> Who's got a HTML/SCRIPT that works for NN / IE 4.0+ without a
redirection flash movie???


<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4
,0,0,0" id=nederland width="160" height="190">

<PARAM name=movie value="images/swf/nederland.swf">

<PARAM name=quality value=high>

<PARAM NAME=wmode VALUE=transparent>

<script language=JavaScript>
var plugin = (navigator.mimeTypes &&
navigator.mimeTypes["application/x-shockwave-flash"] ?
navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0);
if ( plugin &&
parseInt(plugin.description.substring(plugin.description.indexOf(".")-1))
>= 3 ) {
document.write('<EMBED src="images/swf/nederland.swf" quality=high
bgcolor=#FFFFFF');
document.write(' swLiveConnect=FALSE WIDTH=150 HEIGHT=150');
document.write(' TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_P
rod_Version=ShockwaveFlash"></EMBED>');
document.write('<NOEMBED><IMG src="images/swf/nederland.gif"
width="160" height="190" border="0" usemap="#nederland"></NOEMBED>');
}
else if (!(navigator.appName &&
navigator.appName.indexOf("Netscape")>=0 &&
navigator.appVersion.indexOf("2.")>=0)){
document.write('<IMG SRC="images/swf/nederland.gif" WIDTH=160
HEIGHT=190 BORDER=0 usemap="#nederland">');
}
</SCRIPT>
<NOSCRIPT><IMG src="images/swf/nederland.gif" width="160" height="190"
border="0" usemap="#nederland"></NOSCRIPT>

</OBJECT>
<MAP name="nederland"><AREA shape="rect" coords="99,128,116,187"
href="limburg.html" alt="Limburg" title="Limburg"><AREA shape="rect"
coords="3,115,42,156" href="zeeland.html" alt="Zeeland"
title="Zeeland"><AREA shape="rect" coords="117,27,151,65" href="drente.h
tml" alt="Drente" title="Drente"><AREA shape="rect" coords="59,85,91,106"
href="utrecht.html" alt="Utrecht" title="Utrecht"><AREA shape="rect"
coords="111,65,153,90" href="overijssel.html" alt="Overijssel"
title="Overijssel"><AREA shape="rect" coords="93,89,140,123"
href="gelderland.html" alt="Gelderland" title="Gelderland"><AREA
shape="rect" coords="80,54,102,82" href="flevoland.html" alt="Flevoland"
title="Flevoland"><AREA shape="rect" coords="47,23,76,83"
href="noord_holland.html" alt="Noord Holland" title="Noord Holland"><AREA
shape="rect" coords="45,120,98,151" href="noord_brabant.html" alt="Noord
Brabant" title="Noord Brabant"><AREA shape="rect" coords="31,88,60,119"
href="zuid_holland.html" alt="Zuid Holland" title="Zuid Holland"><AREA
shape="rect" coords="85,11,117,53" href="friesland.html" alt="Friesland"
title="Friesland"><AREA shape="rect" coords="121,1,153,29"
href="groningen.html" alt="Groningen" title="Groningen"></MAP

Regards,

Marcel de Jong



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save £200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]