One, the code style according to different languages to do incompatible with IE to solve two, code logic: 1. Return language information in the background;
result.addObject("language",getLocaleStr());
<textarea autocorrect="off" autocapitalize="off" spellcheck="false" style="padding:0px; width:1000px; height:1em;" tabindex="0" readonly=""></textarea>1 1
result. AddObject ("Language",getlocalestr());
2. Get back the language information on the page, and make judgment with IE;
<script type="text/javascript"> jQuery(function () { var globalLanguage=‘$!{language}‘; if (!!window.ActiveXObject || "ActiveXObject" in window){ if(globalLanguage == "th_TH"){ $(".mod-main .crumbs-nav h3 a").css("font-size","16px"); } }else{ } });</script>
<textarea autocorrect="off" autocapitalize="off" spellcheck="false" style="padding:0px; width:1000px; height:1em;" tabindex="0" readonly=""></textarea> x1
< Script type = "Text/javascript" >
2
JQuery (function () {
3
var Globallanguage = ' $! {language} ';
4
if (!! window. ActiveXObject || "ActiveXObject" inch window) {
5
if (globallanguage= ="th_th") {
6
$ (". Mod-main. Crumbs-nav h3 a"). CSS ("font-size","16px");
7
}
8
} Else {
9
10
}
11
});
12
</ Script >
"IE Compatibility" code in multilingual style +ie incompatible resolution