Yansanmo!
/Informatique/Programmation/JavaScript/
Exemple avec les objets Javascript

var str = navigator.appVersion;
if ( parseFloat( str.subString(str.indexOf("MSIE")+5, str.indexOf("MSIE")+8) ) == 5.5)
alert("Vous utilisez IExplorer 5.5");

// ie5 ou 6
var bver=navigator.appVersion.split(";");
if ((bver[1].match("5.")) || (bver[1].match("6.")))
{ /*... */ }

if ( navigator.userAgent.toLowerCase().indexOf("win") != -1 )
alert ("Vous utilisé Windows");
if ( navigator.userAgent.indexOf("MSIE") != -1 )
alert ("Vous utilisé Microsoft Internet Explorer");

Exemple avec les objets Javascript
yansanmo@iquebec.com