摘要: //缩放类 兼容性良好 var zoomClass = function(o){ if (typeof(o) == "string") o = document.getElementById(o); if (document.attachEvent) o.attachEvent("onmousewheel", func); else o.addEventListener("DOMMouseScroll", func, false); function func(e){ if (e.target) { var oWidth = e.target.width; var width = e.t 阅读全文
posted @ 2011-01-04 22:35 红叶舞秋山 阅读(233) 评论(0) 推荐(0) 编辑