dhgamache/Skeleton — pull request #71 by guille (2012-03-01 22:42:19+00:00)
Title: Tabs refactor

- Style cleanup (I can reverse it if needed)

- Don't assume `$` and leverage `jQuery` instead

- Switched to `hashchange` listening instead of delegation
We still check that the given hash exists as a `href` within a valid Skeleton tabs markup, but you can now send links around that focus on tabs.
As an example, if I tweet out mypage.com/#activetab, it will check that `#activetab` is a valid href in an anchor within an `

` element, and if so, make that tab active.

- In addition, you can have multiple anchors in the page that trigger tabs by simply setting the appropriate `href`.

- Leverage `closest` and `find` instead of `parent`, `siblings` and `children` (code simplification).