[pmwiki-users] Feature request: Action lists in skins
Hans
design at flutesong.net
Mon Apr 18 08:35:38 CDT 2005
Monday, April 18, 2005, 2:16:24 PM, Patrick wrote:
> * %item browse% [[{$Name}?action=browse | Browse]]
> * %item edit% [[{$Name}?action=edit | Edit]]
Thanks a lot! Here is a summery of styling action tabs with a
highlight on the current tab:
Place list of action links on wikipage, like:
* %item browse% [[{$Name}?action=browse | Browse]]
* %item edit% [[{$Name}?action=edit | Edit]]
* %item diff% [[{$Name}?action=diff | History]]
* %item print% [[{$Name}?action=print | Print View]]
Place in skin template att he plac eyou want the list elements:
<div id='tabs'><!--wiki:$Group.PageTopMenu Main.PageTopMenu--></div>
or some other page name (we have not agreed on a standard yet).
and in the skin template header:
<style type="text/css"><!--
#tabs li.$action {
background: #FFFFFF;
color: #000000;
border-bottom: 1px solid #FFFFFF;
}
--></style>
(change the styling according to your needs)
The major part of the tabs list element styling is done in the skin's css
file, the styling above just changes the current tab.
Best,
~Hans
More information about the pmwiki-users
mailing list