AJAX Behaviour

Friday 11th November

Whilst searching on inclusion of AJAX in JSP pages today, I happened across a lovely script called Behaviour, which purpose is to remove excess javascript tags in HTML pages (don’t you just hate that? ;). As with a lot of web 2.0 stuff, it’s a pretty simple idea. Javascript code is housed in CSS selectors, which is located in the stylesheet then rather than the HTML. This way, you can use CSS ids to trigger javascripts, removing the need for example for “onClick” etc. events in hyperlinks. Lovely.

Actually I’m sure it’s better explained on the Behaviour page, so you’re probably better off checking there if you’re interested :)

Incidentally and interestingly, a couple more links from that page (via the Sam Stephenson link at the bottom of the page) lands you at projectionist (tumblelog) – which I was looking at just yesterday via here (and the subsequent link). Seems it’s not only a small world, but a small web too ;)

One Response to “AJAX Behaviour”

  1. Omar sez:

    It is a small web, though i’ve no idea what the other stuff you’re talking about it :)
    ps. enjoy Deep Dish.

Leave a Reply