Get NN (Netscape Navigator) Version Number : JavaScript Version : Development JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Development » JavaScript Version »

 

Get NN (Netscape Navigator) Version Number




function getNNVersionNumber() {
    if (navigator.appName == "Netscape") {
        var appVer = parseFloat(navigator.appVersion);
        if (appVer < 5) {
            return appVer;
        else {
            if (typeof navigator.vendorSub != "undefined") {
                return parseFloat(navigator.vendorSub);
            }
        }
    }
    return 0;
}

var isNN6Min = getNNVersionNumber() >= 6;

if (isNN6Min) {
    // perform statements for NN 6 or later
}



           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Development
» JavaScript Version