--- a/src/templates/annotation.html Tue Oct 04 11:16:06 2011 +0200
+++ b/src/templates/annotation.html Fri Apr 06 16:55:34 2012 +0200
@@ -1,6 +1,10 @@
+{{! template for an annotation displayed in a segmentWidget }}
<div title='{{divTitle}}' id='{{id}}'
- class='ui-slider-range ui-slider-range-min ui-widget-header iri-chapter'
- width='100%'
- style='left: {{startPourcent}}%; width: {{endPourcent}}%; padding-top:15px; border-left:solid 1px #aaaaaa; border-right:solid 1px #aaaaaa; background:#{{hexa_color}};'
- onClick='IriSP.MyApiPlayer.seek({{seekPlace}});IriSP.jQuery(\"#Ldt-ShowAnnotation\").slideDown();'>
-</div>
\ No newline at end of file
+ class='Ldt-iri-chapter Ldt-TraceMe'
+ style='left: {{startPixel}}px;
+ width: {{pxWidth}}px;
+ background-color:{{hexa_color}};'
+ data-seek='{{seekPlace}}'
+ thumbnail-url='{{thumbnailUrl}}'
+ >
+</div>