Loading...
 
Features / Usability

Features / Usability


Re: Adding tabs to wiki pages

posts: 4656 Japan

Hi Dave,

If you have "use page title" turned on, then it seems there'd be a visual conflict since the page's title would be above the tabs row (assuming it's in the wiki text). If page title is turned off, then the tabs wouldn't be battling with it visually.

If the tabs are meant to be above the wikitext, then tiki-show_page would have to be edited. It'd be easiest to put the tabs in the wikitext.

Modern best procedure is generally to use an unordered list for menus, etc. and lay it out and style it with CSS. If you go this route, you could use the div plugin and give it a class that you'd define in the CSS. There are quite a few tutorials around on CSS tabs, such as A List Apart or SimpleBits (or Google for CSS tabs). (I didn't check but if the method requires a div with an id rather than class, then you might need a DIVID plugin.)

Then there's the question of how the tabs row will blend into the rest of the wiki page, since it'll have its own bottom border, but will be within the box of the wikitext. I guess the answer here depends on how the page is styled overall.

Edited: Just an afterthought — See this example of a similar procedure for rendering an unordered list of links as a suckerfish menu. For tabs, it'd be a matter of providing the CSS to produce them rather than dropdowns.

-- Gary

There are no comments at this time.