IE Browser Detection
function init(){
(function(){
var browser = {
docModeIE:null,
}, tmp;
tmp = document.documentMode;
try{
document.documentMode = "";
}
catch(e){};
browser.isIE = typeof document.documentMode == "number" || new Function("return/*@cc_on!@*/!1")();
try {
document.documentMode = tmp;
}
catch(e){};
if (browser.isIE)
{
IE = true;
}else{
IE = false;
};
})();
if(IE == true) {
"Your code for IE Browsers here"
} else {
"Your code for NOT IE Browsers here"