##UPDATE 2012: this post is dumb and angsty, dont read I’ve been toying around with MooTools a bit lately, and I’ve found the experience quite enjoyable and refreshing. Naturally, I twittered about it and went along my merry way. Moments later (and much to my surprise), I had a direct message from John Resig himself asking “Why, what’s wrong with jQuery?”. I was pretty taken aback that he would take time from his surely busy day to message a total stranger in an effort to improve his project or at least gain an insight in the everyday life of a js developer (it’s not like DHH would personally message people that are dumping rails to use merb).
This is common pattern in website navigation, where it highlights the link (usually by setting
class=”active”) that took you to the current page while you are on that page.
First, define a helper: