[thelist] I Need Help Detecting Flash With ASP

Donald Patenaude donald_patenaude at hms.harvard.edu
Thu Mar 1 12:34:18 CST 2001


I use this
<SCRIPT LANGUAGE="JavaScript">
<!--
function detectflash(){
//********Set the names of your web pages here:*****
         flashpage               = "movie2.htm"
         upgradepage             = "plugin2.htm"
         nonflashpage            = "plugin2.htm"
         cantdetectpage          = "plugin2.htm"
//**************************************************
         noautoinstall = ""

         if(navigator.appName == "Microsoft Internet Explorer" &&
                 (navigator.appVersion.indexOf("Mac") != -1 ||
                  navigator.appVersion.indexOf("3.1") != -1)){
                         noautoinstall = "true";
         }
         if (navigator.appName == "Microsoft Internet Explorer" && 
noautoinstall != "true"){
                 window.location=flashpage;
         }
         else if(navigator.plugins){
                 if(navigator.plugins["Shockwave Flash"]){
                         window.location=flashpage;
                 }
                 else if(navigator.plugins["Shockwave Flash 2.0"]){
                         window.location=upgradepage;
                 }

                 else{
                         window.location=nonflashpage;
                 }
         }
         else {
         window.location=cantdetectpage;
         }
}
// -->
</SCRIPT>

At 11:49 AM 3/1/01 -0500, you wrote:
>hiya a!
>
> >does anyone have a good, solid flash detection script?
>
>yeah, rush over to the macromedia exchange, where they have a set of nice
>flash detection scripts as extensions for DW/UD.
>
>or go to moock.org and use his.
>
>hth,
>
>fortune
>
>----------------------------------------------------------------------------
>--------------------
>The views and opinions expressed in this email message are the sender's
>own, and do not necessarily represent the views and opinions of Summit
>Systems Inc.
>
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !






More information about the thelist mailing list