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

<a href="" target="_blank">super</a>
<a href="" 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

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