276 |
276 |
277 // event.clientX and event.clientY are to raphael what event.pageX and pageY are to jquery. |
277 // event.clientX and event.clientY are to raphael what event.pageX and pageY are to jquery. |
278 self.TooltipWidget.show.call(self.TooltipWidget, element.title, element.attr("fill"), event.clientX - 106, event.clientY - 160); |
278 self.TooltipWidget.show.call(self.TooltipWidget, element.title, element.attr("fill"), event.clientX - 106, event.clientY - 160); |
279 element.displayed = true; |
279 element.displayed = true; |
280 }}(e)).mouseout(function(element) { return function () { |
280 }}(e)).mouseout(function(element) { return function () { |
281 self.TooltipWidget.hide.call(self); |
281 self.TooltipWidget.hide.call(self.TooltipWidget); |
282 }}(e)).mousedown(function () { |
282 }}(e)).mousedown(function () { |
283 self._Popcorn.currentTime(this.time/1000); |
283 self._Popcorn.currentTime(this.time/1000); |
284 }); |
284 }); |
285 |
285 |
286 IriSP.jQuery(e.node).attr('id', 't' + k + ''); |
286 IriSP.jQuery(e.node).attr('id', 't' + k + ''); |
296 // DRAW UI :: resize border and bgd |
296 // DRAW UI :: resize border and bgd |
297 var heightOfChart = (this.yMax-(this.height- this.yMax)); |
297 var heightOfChart = (this.yMax-(this.height- this.yMax)); |
298 var PaperBackground = this.paper.rect(0, this.yMax, this.width,heightOfChart).attr({fill:"#fff","stroke-width":0.1,opacity: 0.1}); |
298 var PaperBackground = this.paper.rect(0, this.yMax, this.width,heightOfChart).attr({fill:"#fff","stroke-width":0.1,opacity: 0.1}); |
299 var PaperBorder = this.paper.rect(0, this.yMax,this.width,1).attr({fill:"#fff",stroke: "none",opacity: 1}); |
299 var PaperBorder = this.paper.rect(0, this.yMax,this.width,1).attr({fill:"#fff",stroke: "none",opacity: 1}); |
300 |
300 |
301 this.paperSlider = this.paper.rect(0, this.yMax, 0, this.height).attr({fill:"#D4D5D5", stroke: "none", opacity: 1}); |
301 this.paperSlider = this.paper.rect(0, this.yMax, 0, this.heightmax).attr({fill:"#D4D5D5", stroke: "none", opacity: 1}); |
302 // decalage |
302 // decalage |
303 tweetSelection = this.paper.rect(-100,-100,5,5).attr({fill:"#fff",stroke: "none",opacity: 1}); |
303 tweetSelection = this.paper.rect(-100,-100,5,5).attr({fill:"#fff",stroke: "none",opacity: 1}); |
304 |
304 |
305 this.paperSlider.toBack(); |
305 this.paperSlider.toBack(); |
306 PaperBackground.toBack(); |
306 PaperBackground.toBack(); |