[pmwiki-users] How to add a class to an anchor/link and an accesskey

DaveG pmwiki at solidgone.com
Sun Apr 5 17:46:07 CDT 2009


This is a two part question.
1] How to apply a class to a link?
2] How to also provide an accesskey to that link.

The way to provide an accesskey is the same as the way to add a class to 
a link:
   %accesskey="$[ak_edit]"%[[url | label]]%%

I'm not sure how to apply a class to an anchor. This doesn't seem to 
work -- it creates a span around the anchor, which prevents the accesskey.
   $WikiStyleApply['a'] = 'a';

Anyone?

  ~ ~ Dave



More information about the pmwiki-users mailing list