Re: Detectar plugin de Flash

From: Date: Fri, 12 Mar 2004 23:13:49 +0000
Subject: Re: Detectar plugin de Flash
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-46590@lists.php.net to get a copy of this message
Google: " detectar flash", encontrarás multitud de ejemplos , como este... Saludos Carlos <script language="JavaScript"> <!-- function MM_checkPlugin(plgIn, theURL, altURL, autoGo) { 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) { 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','index.html','http://www.macromedia.com/shockwave/download/download.c gi?P1_Prod_Version=ShockwaveFlash&Lang=LatinAmerica&P5_Language=Spanish',tru e);return document.MM_returnValue"> ----- Original Message ----- From: "Amador Cubino [Necostek.com]" <acubino3@necostek.com> To: <php-es@lists.php.net> Sent: Friday, March 12, 2004 10:54 PM Subject: [PHP-ES] Detectar plugin de Flash Hola. Seria posible saber si un usuario tiene un plugin de flash, para si no lo tiene ofrecerle una version alternativa de la web. Gracias

« previous php.general.es (#46590) next »