Oracle Magazine Special offer for AjaxImpact.com Visitors!! Subscribe to Oracle Magazine for Free!
AJAX IMPACT


ARTICLES
Introducing CSS event:Selectors for Prototype
03/22/2006, By Justin Palmer



Justin Palmer has written CSS event:Selectors using prototype, a method to cleanly use CSS pseudo selectors to assign DOM events to elements on the page.

He writes "Over the past 6 months or so Javascript has really gotten a lot of attention. I can’t name a web application released in the previous months (although I’m sure there are a few) that doesn’t use Javascript to provide an enhanced experience for users. I wanted a way to facilitate that interaction that doesn’t involve me repeating myself over and over wiring and rewiring event ovservers to a document."

I use Prototype in most, if not all applications I’m involved with today. Prototype mixes well with Behaviour, however, there is a lot of duplicate functionality between the two scripts and I’m still writing way to much Javascript. Here is a common example for those of you using Behaviour with Prototype.

Click here to view examples, docs, and to download event:Selectors

   Read more...

 Rate this Ajax Articles
Error connecting to mysql