[pmwiki-users] Feature request: Action lists in skins

Patrick R. Michaud pmichaud at pobox.com
Mon Apr 18 08:16:24 CDT 2005


On Mon, Apr 18, 2005 at 12:42:38PM +0100, Hans wrote:
> Good. But one problem is how to pass on styling based on which action
> is selected for the page. If I use an unordered list of action links
> on a wiki page like
> 
>       * %browse% [[{$Name}?action=browse | Browse]]
>       * %edit% [[{$Name}?action=edit | Edit]]
> 
> then I get the html:
> 
> <div id='tabs'><ul>
> <li><span class='browse' ><a class='wikilink' href='...?action=browse'>Browse</a> </span></li>
> <li><span class='edit' ><a class='wikilink' href='.....?action=edit'>Edit</a> </span></li>
>  .....
> 
>  i.e. <span>-elements, but I would like <li class=browse><a ...>...
>  which I could style with
>  
>     #tabs li.$action { .... }
>     
>  in the template for highlighted action tabs.

    * %item browse% [[{$Name}?action=browse | Browse]]
    * %item edit% [[{$Name}?action=edit | Edit]]

Pm



More information about the pmwiki-users mailing list