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 view this discussion on the web visit
https://groups.google.com/d/msg/simile-widgets/-/JA8R8BAj_gMJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simile-widgets?hl=en.