Behaviour : Using CSS selectors to apply Javascript behaviours

Lurvely! This is a very neat method for removing Javascript from html pages! Embed it in the CSS! (sort of!)
He has a couple of examples on his page, and it looks easy enough in principle. The devil’s in the details don’t you know but it looks like it’s worth trying!
He’s a busy beaver too.. he has an MVC framework and tutorial that steps you through an example.


You might also like

If you like this post then please subscribe to my full RSS feed. You can also click here to subscribe by email. There are also my fabulous photos to explore too!

2 thoughts on “Behaviour : Using CSS selectors to apply Javascript behaviours

  1. Pingback: » Unobtrusive Javascript, and CSS Selectors « klog (1 comments.)

Leave a Reply

Loading Facebook Comments ...