轻量级库,用于跨浏览器事件支持 [英] Lightweight library for cross-browser event support
问题描述
跨浏览器的处理有时很麻烦。
在这种情况下,我需要捕获很多事件,但不能使用超过 10ish Kb 的多功能库。 (例如jQuery,Prototype,Dojo,YUI等)
该脚本旨在作为我所维护的各个站点的基本跟踪工具。
每个浏览器似乎都可以处理事件
如果有人能指出我一个用于跨浏览器事件处理的Javascript库,我将非常高兴。
这会让我开心! =)
迪恩·爱德华兹(Dean Edwards):
http://dean.edwards.name/weblog/2005/10/add-event2/
或John Resig的一个:
http:// ejohn .org / blog / flexible-javascript-events /
Cross-browser handling is quite a hassle sometimes.
In this case I need to capture quite a number of events, but cannot afford to use a multi purpose library that exceeds 10ish Kb. (e.g. jQuery, Prototype, Dojo, YUI, ...)
The script is meant as a basic tracking tool for various sites I'm maintaining.
Every browser seems to handle events slightly and sometimes completely differently!
I would be really happy if someone could point me out to a Javascript library meant for cross-browser event handling.
This would make my day! =)
Dean Edwards' : http://dean.edwards.name/weblog/2005/10/add-event2/
Or the one from John Resig: http://ejohn.org/blog/flexible-javascript-events/
这篇关于轻量级库,用于跨浏览器事件支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!