Hello,

An error message is only partly helpful; it would be much more useful to see the whole picture including your actual Timeline and data in order to assist you. We already have the code; it's the context in which you're using it that's needed.

On 2012-05-08 13:25 , Bryan Andrés Echegoyen Rozas wrote:
    This is the lines around the error line.

    this.position = function(startDate, endDate) {
         this._createHighlightDiv();

         var startPixel = Math.round(band.dateToPixelOffset(startDate));
         var endPixel = Math.round(band.dateToPixelOffset(endDate));
         var length = Math.max(endPixel - startPixel, 3);
         if (horizontal) {
             this._highlightDiv.style.left = startPixel + "px";
             this._highlightDiv.style.width = length + "px";
             this._highlightDiv.style.height = (band.getViewWidth() - 4) +
"px";
         } else {
             this._highlightDiv.style.top = startPixel + "px";
             this._highlightDiv.style.height = length + "px";
             this._highlightDiv.style.width = (band.getViewWidth() - 4) +
"px";
         }
     }


it works at IE9, google chrome  and firefox... please help.



--
You received this message because you are subscribed to the Google Groups "SIMILE 
Widgets" group.
To post to this group, send email to simile-widgets@googlegroups.com.
To unsubscribe from this group, send email to 
simile-widgets+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to