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.
Applying DOMtab to your pages is easy, all you need is to call the script in the head of the document:
In this version I added the option to have previous and next links
DOMtab then generates the following link list in each of the sections, automatically removing the previous link in the first and the next in the last section:
Both labels are set via innerHTML rather than the proper method :-). This allows you to use images if wanted:
Using the mandatory classes domtab for the main DIV of each menu, and domtabs for the menu list, you can pretty much style your menus any way you want to.