Patrick R. Michaud wrote:
> On Sun, Jan 20, 2008 at 11:53:50AM -0500, Sandy wrote:

>> Is there a way I can give the anchors a class and hide them? Or do I 
>> have to set the CSS for each of A.urllink, A.wikilink and A.selflink?
> 
> Yes, you can give anchors a class... try:
> 
>   Markup('[[#','<[[','/(?>\\[\\[#([A-Za-z][-.:\\w]*))\\]\\]/e',
>     "Keep(TrackAnchors('$1') ? '' : \"<a name='$1' id='$1' 
> class='anchor'></a>\", 'L')");
> 
> Then you can do something like:
> 
>     A.anchor:hover { border:none; }
> 
> Pm

Works great!

Thanks!

Sandy


_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to