Chip:
Pay particular attention to the last line. This is where you will direct
them to either a flash or non-flash page.
FP2003 has this in the behaviors.
Try this:
<script language="JavaScript">
<!--
function FP_checkPlugin(pgn,url1,url2) {//v1.0
var fnd=false; if(navigator.userAgent.indexOf("MSIE")<0) {
if(navigator.plugins && navigator.plugins.length>0) {
varn=navigator.plugins.length;
for(i=0; i<n; i++) { if((navigator.plugins
.name.indexOf(pgn)>=0) ||
(navigator.plugins.description.indexOf(pgn)>=0)) fnd=true; } } } else {
switch(pgn) { case"QuickTime": {
fnd=FP_detectActiveXControl('QuickTimeCheckObject.QuickTimeCheck.1');
break; } case "Windows Media Player": {
fnd=FP_detectActiveXControl('MediaPlayer.MediaPlayer.1');
break; } case "RealPlayer": {
fnd=(FP_detectActiveXControl('rmocx.RealPlayer G2 Control') ||
FP_detectActiveXControl('RealPlayer.RealPlayer(tm) ActiveX Control
(32-bit)') ||
FP_detectActiveXControl('RealVideo.RealVideo(tm) ActiveX Control
(32-bit)')); break; }
case "Shockwave": { fnd=FP_detectActiveXControl('SWCtl.SWCtl.1'); break;
} case "Flash":{
fnd=FP_detectActiveXControl('ShockwaveFlash.ShockwaveFlash.1'); break; }
} } if(url1!='') {
if(fnd) window.location=url1;}; if(url2!='') { if(!fnd)
window.location=url2; }
}
function FP_detectActiveXControl(sControlName) {//v1.0
var oControl;try{oControl=new ActiveXObject(sControlName);if(oControl==null)
return false;else return true;}catch(e){return false;}
}
// -->
</script>
</head>
<body onload="FP_checkPlugin('Flash',
/*href*/'http://www.yourdomain.com/flashpage.htm',
/*href*/'http://www.yourdomain.com/nonflashpage.htm')">