equal
deleted
inserted
replaced
16 |
16 |
17 var self = this; |
17 var self = this; |
18 var annotations = this._serializer._data.annotations; |
18 var annotations = this._serializer._data.annotations; |
19 |
19 |
20 this.selector.css("overflow", "auto"); // clear the floats - FIXME : to refactor ? |
20 this.selector.css("overflow", "auto"); // clear the floats - FIXME : to refactor ? |
21 this.selector.append("<div style='position: absolute; z-index: 100; width: 1px; height: 20px; background-color: white;'></div>"); |
21 this.selector.append(Mustache.to_html(IriSP.segment_marker_template)); |
|
22 |
22 this.positionMarker = this.selector.children(":first"); |
23 this.positionMarker = this.selector.children(":first"); |
23 |
24 |
24 this._Popcorn.listen("timeupdate", IriSP.wrap(this, this.positionUpdater)); |
25 this._Popcorn.listen("timeupdate", IriSP.wrap(this, this.positionUpdater)); |
25 |
26 |
26 this.selector.after("<div class='cleaner'></div>"); // we need to do this because the segments are floated |
27 this.selector.after("<div class='cleaner'></div>"); // we need to do this because the segments are floated |