# HG changeset patch # User Samuel Huron # Date 1321644378 -3600 # Node ID 55370839e23092672f0ddf73e660120d7a4e127c # Parent 66092f867c039c6ac3f4c6faf652c7b73377f57f tracker mouse on PT timeline diff -r 66092f867c03 -r 55370839e230 web/res/metadataplayer.polemic/src/js/polemic.js --- a/web/res/metadataplayer.polemic/src/js/polemic.js Tue Nov 15 11:38:14 2011 +0100 +++ b/web/res/metadataplayer.polemic/src/js/polemic.js Fri Nov 18 20:26:18 2011 +0100 @@ -502,10 +502,12 @@ e.mouseover(function () { //this.attr({stroke:"#fff","stroke-width":5}); //this.toFront(); + _gaq.push(['_trackPageview', location.pathname + location.search + location.hash+"!!MetaDatPlayer.PT.mouseover(time:"+this.time+",id:"+this.id+")"]); }).mouseout(function () { //this.attr({stroke:"#00","stroke-width":0.1}); }).mousedown(function () { __IriSP.MyApiPlayer.seek(this.time/1000); + _gaq.push(['_trackPageview', location.pathname + location.search + location.hash+"!!MetaDatPlayer.PT.mousedown(time:"+this.time+",id:"+this.id+")"]); }); __IriSP.jQuery(e.node).attr('id', 't'+k+''); __IriSP.jQuery(e.node).attr('title', frames[i].mytweetsID[k].title); @@ -546,6 +548,8 @@ __IriSP.jQuery("#tipcolor").css("background-color", tipColor); __IriSP.jQuery("#tiptext").text(tipText); __IriSP.jQuery("#tip").show(); + _gaq.push(['_trackPageview', location.pathname + location.search + location.hash+"!!MetaDatPlayer.PT.mouseover("+this.time+","+this.id+")"]); + }else{ if (typeof(__IriSP) !== 'undefined' && typeof(__IriSP.jQuery) === 'function') { __IriSP.jQuery("#tip").css("left", -10000).css("top", -100000);