html js css
html一般是旧的浏览器版本不兼容新的浏览器的新特性;
js 中事件流DOM2级事件,
1)非IE浏览器添加事件 dom.addEventListener('click',function(){},true) dom.removeEventListener()
IE浏览器添加事件 dom.attachEvent('onclick',function(){})
2)获取event属性,非IE浏览器参数传入,IE浏览器是 window.event
3)获取目标对象,非IE浏览器 event.target , IE浏览器 event.srcElement
css
1)透明度设置 非IE filter:alpha(opacity=50); IE是 opacity:0.5;
2)手形控制:cursor:pointer;cursor:hand; (IE6)
html一般是旧的浏览器版本不兼容新的浏览器的新特性;
js 中事件流DOM2级事件,
1)非IE浏览器添加事件 dom.addEventListener('click',function(){},true) dom.removeEventListener()
IE浏览器添加事件 dom.attachEvent('onclick',function(){})
2)获取event属性,非IE浏览器参数传入,IE浏览器是 window.event
3)获取目标对象,非IE浏览器 event.target , IE浏览器 event.srcElement
css
1)透明度设置 非IE filter:alpha(opacity=50); IE是 opacity:0.5;
2)手形控制:cursor:pointer;cursor:hand; (IE6)