"Patrick R. Michaud" wrote

>I would not be opposed to adding a class='action-$action' attribute
>to the <body> tag so that CSS stylings could be aware of the
>overall page action being displayed.
>
>This would make it possible to do things like
>
>    body.action-edit .sidebar { display:none; }
>    body.action-diff .sidebar { display:none; }
>
>to turn off the sidebar display when ?action=edit or ?action=diff.

interesting approach, this could enable more elegant solutions than
using dynamic entries in $HTMLStylesFmt[].

Oliver


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to