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>
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>
-
- 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.
-
- Platinum Boarder
2 posts
• Page 1 of 1