JSPWiki Button Menu Template

The ButtonMenuTemplate skin overrides the style for unordered list (UL) tag inside the left-hand-side TOC so that all the list items appear as buttons. Hence, you can easily create buttons by adding list items to your left-hand-side TOC as shown in the above example. The ButtonMenu skins are CSS based and use a standard layout for all the skins. The layout for the wiki pages is defined in the JSP files under templates/ButtonMenu directory. The JSP files have no styling information; all the styles are governed by the CSS files. All the pages in the wiki include the WikiCSS.jsp which embeds the link to the correct CSS file. There are 3 pre-packaged CSS files namely: WikiSkinBlue.css, WikiSkinOrange.css and WikiSkinGreen.css. The CSS files work fine both for IE and Mozilla and there is no need for separate CSS implementations for different browsers. Just make sure that whenever you modify the CSS files you test it for both IE and Mozilla.

Read more