DOMtab is a JavaScript that turns a list of links connected to content
sections into a tab interface. The script removes any "back to top" links
in the section and automatically hides all but the first one when the
page is loaded. You can use as many tabbed menus on the page as you want
to.
New: If the URL of the page links directly to one of the tabs it get automatically
highlighted.
You can define with an extra class if you want previous and next links
or not.
DOMtab uses Unobtrusive JavaScript and does not have any global functions or variables.
see in action