摘要:
var bs = new Browser(); if(bs.userBrowser() == 'firefox'){ document.body.addEventListener("DOMMouseScroll", test, false); ... 阅读全文
摘要:
方式1(已解决兼容性): if(window.attachEvent){ window.document.body.attachEvent("onclick", test); }else if(window.addEventListener) { ... 阅读全文