src/js/widgets/tooltipWidget.js
branchpopcorn-port
changeset 550 ae0f2ec05ed7
parent 489 0b84128f609b
child 579 179b32df9caa
equal deleted inserted replaced
549:8abffd2de54a 550:ae0f2ec05ed7
     9 
     9 
    10 IriSP.TooltipWidget.prototype = new IriSP.Widget();
    10 IriSP.TooltipWidget.prototype = new IriSP.Widget();
    11 
    11 
    12 IriSP.TooltipWidget.prototype.draw = function() {
    12 IriSP.TooltipWidget.prototype.draw = function() {
    13   var templ = Mustache.to_html(IriSP.tooltipWidget_template);
    13   var templ = Mustache.to_html(IriSP.tooltipWidget_template);
    14 
    14   // position the widget absolutely relative to document.
       
    15   this.selector.css("position", "static");
    15   this.selector.append(templ);
    16   this.selector.append(templ);
    16   this.hide();
    17   this.hide();
    17 
    18 
    18 };
    19 };
    19 
    20