[pmwiki-users] self-links: Better check including "action"?

Oliver Betz list_ob at gmx.net
Sun May 15 10:55:56 CDT 2011

"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[].


More information about the pmwiki-users mailing list