[pmwiki-users] How to apply data-rel to an anchor?
5ko at 5ko.fr
Fri Feb 3 17:52:47 CST 2012
On Friday 03 February 2012 12:21:21, Martin Kerz wrote :
> In your example, I would like to be able to say:
> %data-rel=dialog apply=div%
> %data-rel:dialog apply=a%
> Is that possible, too?
No, sorry, I don't see how.
> Am 03.02.2012 um 09:32 schrieb Petko Yotov:
> > You need the following code in config.php :
> > $WikiStyleAttr['data-rel'] = 'a';
> > $WikiStyle['jqdl']['data-rel'] = 'dialog';
> > Then you can use %jqdl%[[link]]%% or %data-rel:dialog%[[link]]%%
> > to produce a link with an attribute data-rel="dialog".
More information about the pmwiki-users