public marks

PUBLIC MARKS from sledge with tags optimisation & css

28 June 2005 08:15

Behaviour : Using CSS selectors to apply Javascript behaviours

by 27 others
After all the work of WASP and others to promote clean markup, valid pages and graceful degradataion via css - it sucks that we're going back to tag soup days by throwing javascript tags into our html. The better way to do javascript is to do it unobtrusively. PPK and Simon Willison have been recommending this approach for ages. And it's definitely the way to go. The only problem is that it's a bit of a pain in the ass. That's why I came up with Behaviour - my solution to unobtrusive javascript behaviours.

sledge's TAGS related to tag optimisation

css +   dev +   javascript +