一、代码中样式根据不同语言对IE做不兼容解决
二、代码逻辑:
1. 后台返回语言信息;
result.addObject("language",getLocaleStr());
1
1
result.addObject("language",getLocaleStr());
2.页面上获取后台返回的语言信息,并结合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>
x
1
<script type="text/javascript">
2
jQuery(function () {
3
var globalLanguage='$!{language}';
4
if (!!window.ActiveXObject || "ActiveXObject" in 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>
<wiz_tmp_tag id="wiz-table-range-border" contenteditable="false" style="display: none;">