add attribute to links

October 08 Joomla Templates
GK User
Thu Sep 13, 2012 5:44 am
how add new attribute (onClick="cl(this)") to links

example,
<a href="http://www.site.ru/super/" target="_blank">super</a>
to
<a href="http://www.site.ru/super/" target="_blank" onClick="cl(this)">super</a>
User avatar
Junior Boarder

GK User
Thu Sep 13, 2012 7:30 am
You want to add this attribute to all links on the template ? I think the easiest way is to use some javascript in this case.
User avatar
Platinum Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.