HashTabber
HashTabber is a simple JavaScript
plugin for tabbed navigation with hash-driven links.
The plugin was featured i.a. on:
- unheap.com
- jquer.in
- jquery-plugins.net
- jqueryscript.net
- jplugins.net
- softpedia.com
- bestplugins.com
- jqueryplugins.net
In some free time I built a simple logo based on the shapes of “#” and “T” characters and the tabbed interface itself. Visually, I dressed it in jade green and some warmer grays.
Modus operandi of the script is more precise and technically-wise described on the website of the project, but in short it can be described by the following diagram:
- You activate the tab (a simple hash link)
- Ther browser’s address changes
- The script waits for change of the address, from where it gets the name of the new tab
- The script pairs the tab with its content
- The script turns off the old tab with content and turns on the new one
This may sound banal, but thanks to the hash links, the page doesn’t reload and you can change tabs from the outside. And the whole functionality is minimalistic, slick and ready for use with very low requirements.
The page didn’t need practically nothing but some smooth typography – I used Source Sans Pro from Paul Hunt, a slim modular scale and a few clever media queries
for mobile devices.
In addition, the entire script is availabe in the Public Domain, i.e. for free.