# HG changeset patch # User hamidouk # Date 1324308357 -3600 # Node ID b710fa62d52207770d19247e98e1833c2687d56d # Parent 4f082f63e2953d6dcfc89da2e28f97c8f1156065 fixed critical bug. diff -r 4f082f63e295 -r b710fa62d522 web/LdtPlayer-release.js --- a/web/LdtPlayer-release.js Mon Dec 19 16:10:39 2011 +0100 +++ b/web/LdtPlayer-release.js Mon Dec 19 16:25:57 2011 +0100 @@ -10325,7 +10325,7 @@ IriSP.jQuery(e.node).mouseenter(function(element) { return function (event) { // event.clientX and event.clientY are to raphael what event.pageX and pageY are to jquery. - self.TooltipWidget.show.call(self.TooltipWidget, element.title, element.attr("fill"), event.clientX - 106, event.clientY - 160); + self.TooltipWidget.show.call(self.TooltipWidget, element.title, element.attr("fill"), event.pageX - 106, event.pageY - 160); element.displayed = true; }}(e)).mousedown(function () { self._Popcorn.currentTime(this.time/1000); @@ -10810,7 +10810,7 @@ this._displayedText = text; this.selector.find(".tiptext").text(text); //this.selector.find(".tip").css("left", x).css("top", y); - this.selector.find(".tip").css("left", x).css("top", "-180px"); + this.selector.find(".tip").css("left", x).css("top", y - 160); this.selector.find(".tip").show(); this._shown = true; }; @@ -10818,8 +10818,7 @@ IriSP.TooltipWidget.prototype.hide = function() { this.selector.find(".tip").hide(); this._shown = false; -}; -/* a widget that displays tweet - used in conjunction with the polemicWidget */ +};/* a widget that displays tweet - used in conjunction with the polemicWidget */ IriSP.TweetsWidget = function(Popcorn, config, Serializer) { IriSP.Widget.call(this, Popcorn, config, Serializer); diff -r 4f082f63e295 -r b710fa62d522 web/LdtPlayer.css --- a/web/LdtPlayer.css Mon Dec 19 16:10:39 2011 +0100 +++ b/web/LdtPlayer.css Mon Dec 19 16:25:57 2011 +0100 @@ -300,7 +300,7 @@ /* why not absolute instead of fixed ? because the div containing the tooltip widget is not a subdiv of its parent widget */ /*position : fixed; */ - position: absolute; + position:fixed; padding : 3px; z-index: 10000000000; max-width: 200px;