fixed critical bug.
--- 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);
--- 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;