Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/02/2006, 18:30
Avatar de edisinho
edisinho
 
Fecha de Ingreso: octubre-2005
Mensajes: 119
Antigüedad: 18 años, 5 meses
Puntos: 1
Pon este codigo javascript amigo, a mi resulta de mil maravillas:


if (checkB.Opera) {
var sp = navigator.plugins["Shockwave Flash"].description.indexOf("Flash");
var ep = navigator.plugins["Shockwave Flash"].description.lastIndexOf(" ");
var aver = parseFloat(navigator.plugins["Shockwave Flash"].description.substring((sp+flash_version),ep));
if(aver >= flash_version){
FlashInstalled = true;
}
} else {
if(checkB.Win && checkB.IE){
document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');
document.write('on error resume next \n');
document.write('contentVersion = '+flash_version+' \n');
document.write('FlashInstalled = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFla sh." & contentVersion))) \n');
document.write('</SCR' + 'IPT\> \n');
if(checkB.IE4){
FlashInstalled = false;
}
}else if(checkB.Mac && checkB.IE){
if(!checkB.IE4 && navigator.plugins["Shockwave Flash"]){
var sp = navigator.plugins["Shockwave Flash"].description.indexOf("Flash");
var ep = navigator.plugins["Shockwave Flash"].description.lastIndexOf(" ");
var aver = parseFloat(navigator.plugins["Shockwave Flash"].description.substring((sp+flash_version),ep));
if(aver >= flash_version){
FlashInstalled = true;
}
}
}else if(checkB.NN && navigator.plugins["Shockwave Flash"]){
if(checkB.NN7 || checkB.NN6 || checkB.NN6x || checkB.NN4){
var sp = navigator.plugins["Shockwave Flash"].description.indexOf("Flash");
var ep = navigator.plugins["Shockwave Flash"].description.lastIndexOf(" ");
var aver = parseFloat(navigator.plugins["Shockwave Flash"].description.substring((sp+flash_version),ep));
if(aver >= flash_version){
FlashInstalled = true;
}
}
}
}
__________________
€disinho