src/js/widgets/tooltipWidget.js
branchpopcorn-port
changeset 550 ae0f2ec05ed7
parent 489 0b84128f609b
child 579 179b32df9caa
--- a/src/js/widgets/tooltipWidget.js	Fri Dec 30 11:55:54 2011 +0100
+++ b/src/js/widgets/tooltipWidget.js	Fri Dec 30 12:38:53 2011 +0100
@@ -11,7 +11,8 @@
 
 IriSP.TooltipWidget.prototype.draw = function() {
   var templ = Mustache.to_html(IriSP.tooltipWidget_template);
-
+  // position the widget absolutely relative to document.
+  this.selector.css("position", "static");
   this.selector.append(templ);
   this.hide();