Any JavaScript Frameworks With The Aim Of Standard Based Cross-platform JS And DOM?
Solution 1:
Dean Edwards' Base2 might be what you're looking for. You might find Diego Perini's NWEvents interesting as well...
Solution 2:
Although it has its own API, Prototype tries to do that (at least partially). If you use Firebug, you can notice a lot of methods added to the DOM, in order to make the DOM equally in all browsers.
I know it's not exactly what you were looking for, but it's a half-way solution.
Also, in some browsers, it might not be possible to override some elements of the DOM. Try doing window.alert = function(i) {};
and it will raise errors in some browsers.
Solution 3:
There is Ample SDK framework that contains DOM-Events / DOM-Core, and many other standards implementations. Although, it is less known yet, I would strongly recommend taking look into that.
Also, please note, myElement.dispatchEvent("click") is not something standard.
Solution 4:
A comprehensive summary of JS libraries that standardize JS and DOM across browsers:
base2
Creator: Dean Edwards - http://dean.edwards.name/
Project page: http://base2.googlecode.com/flowjs
Creator: Richard Herrera - http://http://doctyper.com/
Home page: http://flowjs.com/
Project page: http://flowjs.googlecode.com/JDC
Creator: Tavs Dokkedahl?? - http://www.jslab.dk/
Project page: http://www.jslab.dk/projects.phpSLAB
Creator: Sean Hogan (that's me) - http://meekostuff.net/
Project page: http://meekostuff.net/projects/SLAB
WARNING: these libraries may be larger than you are expecting. There's actually quite a lot of code required for IE6 / IE7.
Post a Comment for "Any JavaScript Frameworks With The Aim Of Standard Based Cross-platform JS And DOM?"