How about this, seems to do everything 

http://webreference.com/tools/browser/javascript.html


 

-----Original Message-----
From: Paul Johnston [mailto:[EMAIL PROTECTED] 
Sent: 06 April 2004 12:38
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] Flash detection code

Not cross-browser (which is important in this case)...

I've seen this and the other MM solutions, and was just wondering if anyone
had any cross-browser solutions.

it's for a flash or non-flash site button thingy

Paul

Robertson-Ravo, Neil (RX) wrote:

>As before...if you simply open up Flash and then export and you can get 
>a script their...  DW also has one which is easily customised..
>
>
>
><script language="JavaScript" type="text/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>
>
>onLoad="MM_checkPlugin('Shockwave
>Flash','found.html','notfound.html',true);return 
>document.MM_returnValue">
>
>
>
>-----Original Message-----
>From: Paul Johnston [mailto:[EMAIL PROTECTED]
>Sent: 06 April 2004 11:58
>To: [EMAIL PROTECTED]
>Subject: Re: [ cf-dev ] Flash detection code
>
>I'm really after some javascript code that will do the detection for me 
>(I know it exists).
>
>I can check for a version using flash, and using IE based vbscript, but 
>I am after a cross-browser solution here, that is not IE specific and 
>is not going to give the user a stupid message if they don't have flash
>
>Paul
>
>Richmond wrote:
>
>  
>
>>If not
>>http://www.macromedia.com/software/flash/download/detection_kit/
>>
>>but beware it loops, if the user tries to use the back button on their 
>>browser to leave the site.
>>
>>Nick
>>
>>-----Original Message-----
>>From: Paul Johnston [mailto:[EMAIL PROTECTED]
>>Sent: 06 April 2004 10:57
>>To: [EMAIL PROTECTED]
>>Subject: [ cf-dev ] Flash detection code
>>
>>I seem to recall that there was some JS flash detection code being 
>>recommended by MM and others in the not to distant past, but I can't 
>>find it.
>>
>>Can anyone help me on this?
>>
>>Paul
>>
>>PS Reposting to dev as it's both scripting and dev (imho)
>>
>>
>> 
>>
>>    
>>
>
>
>--
>These lists are syncronised with the CFDeveloper forum at 
>http://forum.cfdeveloper.co.uk/
>Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
>CFDeveloper Sponsors and contributors:- *Hosting and support provided 
>by CFMXhosting.co.uk* :: *ActivePDF provided by activepdf.com*
>      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
>proworkflow.com*
>           *Tutorials provided by helmguru.com* :: *Lists hosted by
>gradwell.com*
>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, 
>Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed 
>Business, Registered in England, Number 678540.  It contains 
>information which is confidential and may also be privileged.  It is 
>for the exclusive use of the intended recipient(s).  If you are not the 
>intended recipient(s) please note that any form of distribution, 
>copying or use of this communication or the information in it is 
>strictly prohibited and may be unlawful.  If you have received this 
>communication in error please return it to the sender or call our 
>switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
>Visit our website at http://www.reedexpo.com
>
>  
>


--
These lists are syncronised with the CFDeveloper forum at
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided
by activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by
proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by
gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]
This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com

-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to