@@-- This templates provides support for implementing notebook tabs in @@-- an HTML page, ie something that looks like: @@-- @@-- +-------+-------+-------+ @@-- | Page1 | Page2 | Page3 | @@-- +--+-------+ +-------+---------------------------------+ @@-- | The content of the second page | @@-- | | @@-- +------------------------------------------------------------+ @@-- @@-- This implements depends on browsers supporting CSS 2.0 and javascript, @@-- and was tested on IExplorer 6.0, Firefox 1.0, Opera 7.0. @@-- They degrade correctly if javascript is disabled, except the user will @@-- then see all pages at the same time. @@-- They also preserve the currently displayed page when the page is reloaded. @@-- @@-- To use this template, you must do the following in your HTML file: @@-- * Include this template in the header (between and ) @@-- This is done with an instruction like: @@-- @@-- @@INCLUDE@@ notebook.thtml (1=>Tabs, 2=>currentPage, @@-- 3=>TabContents, 4=>initialPageName, @@-- 5=>activePageColor, 6=>inactivePageColor) @@-- @@-- Where the six parameters will be explained below, but should appear @@-- on the same line. @@-- The first parameter mustn't contain spaces @@-- @@-- * Optional parameters: @@-- @@-- $5 - The active page color @@-- $6 - The standard page color @@-- $7 - The tab active text color @@-- $8 - The tab standard text color @@-- $9 - The tab selected text color @@-- $10 - Height offset for the tab, 0 by default. It needs to be adjusted @@-- if the font used is too big. @@-- @@-- * Create a