src/js/widgets/segmentsWidget.js
branchpopcorn-port
changeset 121 607f481ef4c3
parent 108 62da43e72e30
child 126 e007a7ad66b8
equal deleted inserted replaced
120:35d91e67e972 121:607f481ef4c3
    30     
    30     
    31     var toolTipTemplate = Mustache.to_html(IriSP.tooltip_template, 
    31     var toolTipTemplate = Mustache.to_html(IriSP.tooltip_template, 
    32           {"title" : divTitle, "begin" : begin, "end" : end,
    32           {"title" : divTitle, "begin" : begin, "end" : end,
    33           "description": annotation.content.description});
    33           "description": annotation.content.description});
    34     
    34     
    35         
    35     IriSP.jQuery("#Ldt-Annotations").append(annotationTemplate);    
    36     IriSP.jQuery(annotationTemplate).appendTo("#Ldt-Annotations");
       
    37     // TOOLTIP BUG ! 
       
    38     
    36     
    39     IriSP.jQuery("#" + id).tooltip({ effect: 'slide'});
    37     IriSP.jQuery("#" + id).tooltip({ effect: 'slide'});
    40     
    38     
    41     IriSP.jQuery("#" + id).fadeTo(0,0.3);
    39     IriSP.jQuery("#" + id).fadeTo(0,0.3);
    42     
    40