> hvordan laver man :
>
> check om bruger har flash inst. (i browser) , hvis der er : vis flash
film
> hvis ikke vis html side.
Kig her:
http://www.moock.org/webdesign/flash/detection/moockfpi/
Eller kopier denne som jeg nuppede fra Dreamweaver:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { //v4.0
var ok=false; document.MM_returnValue = false;
with (navigator) if (appName.indexOf('Microsoft')==-1 || (plugins &&
plugins.length)) {
ok=(plugins && plugins[plgIn]);
} else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
if (plgIn.indexOf("Flash")!=-1 && window.MM_flash!=null)
ok=window.MM_flash;
else if (plgIn.indexOf("Director")!=-1 && window.MM_dir!=null)
ok=window.MM_dir;
else ok=autoGo; }
if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" onLoad="MM_checkPlugin('Shockwave
Flash','
http://www.myFlashSite.dk','http://www.myHtmlSite.dk',true);return
document.MM_returnValue">
</body>
</html>
Søren Bjerrum
www.mijau.dk