<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>selfoss support forum - Adding onclick events</title>
<link>https://forum.selfoss.aditu.de/</link>
<description>selfoss support forum</description>
<language>en</language>
<item>
<title>Adding onclick events</title>
<content:encoded><![CDATA[<p>Hi,</p>
<p>I'm trying to integrate Piwik Analytics into Selfoss but I'm struggling to add the JavaScript onclick event handler to track when I/ visitors click on a tag or source in the navigation menu.</p>
<p>I've followed a <a href="http://www.bluefountainmedia.com/blog/how-to-bind-onclick-events/">guide</a> on how to sniff certain elements (e.g. #nav-sources ul tag) and insert the necessary JavaScript code but can't get it to work.</p>
<p>Are there any hooks or functions that I can piggy back onto or has anyone got any ideas? I know a bit about JavaScript but I'm not too confident with it either.</p>
<p>Thanks in advance,<br />
Mark</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=928</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=928</guid>
<pubDate>Thu, 18 Sep 2014 20:27:20 +0000</pubDate>
<dc:creator>mark</dc:creator>
</item>
</channel>
</rss>
