ie6,7 css 打补丁;js;re 类似自定义的简单 $();body 给 id区分栏目。ie6 css 里用 htc 模拟 hover 等 css 效果。
function re(element){
var el = '';
if (document.layers){ el = document[element];}
else if (document.all){ el = document.all[element];}
else if (document.getElementById){ el = document.getElementById(element);}
if (el == undefined || el == null || el == ”){return false;}else{return el;}
}//end function
Leave a reply