| Projects on Google Code | Results 1 - 3 of 3 |
=The fastest CSS selectors implementation in the world!=
Faster than Sizzle by 30-50%
Faster than Peppy by 50-80%
==Usage:==
* selects document.body*
('body')
* selects all P tags*
('p')
* selects all A with class 'link'*
('a.link')
* selects all SPAN inside A inside P*
('p a sp...
=Why not behavior sheets?=
CSS is nice because it lets you declare styles without worrying about DOM load, traversal or having to reattach styles as the DOM gets updated over the lifetime of the page. Which raises the question, why isn't the behavior layer similarly declarative?
{{{
/* the st...
The idea of DOMAssistant is to provide a simpler and more consistent way to script against the Document Object Model (DOM) in web browsers. The idea is that everything starts with the element in question, and then performs various methods on it, such as adding/removing classes, finding elements with...