explicited template. calage-segmentsWidget
authorhamidouk
Thu, 22 Dec 2011 16:06:59 +0100
branchcalage-segmentsWidget
changeset 512 9206956532c3
parent 511 81eb8e686456
child 513 4589b90fe1ad
explicited template.
src/templates/annotation.html
--- a/src/templates/annotation.html	Thu Dec 22 16:06:45 2011 +0100
+++ b/src/templates/annotation.html	Thu Dec 22 16:06:59 2011 +0100
@@ -1,8 +1,8 @@
 {{! template for an annotation displayed in a segmentWidget }}
 <div title='{{divTitle}}' id='{{id}}'
 	class='Ldt-iri-chapter' 
-	style='left: {{startPourcent}}%; 
-         width: {{endPixel}}px; 
+	style='left: {{startPixel}}px; 
+         width: {{pxWidth}}px; 
          background-color:#{{hexa_color}};' 
 	>
 </div>