event calendar html5 scroll labels

The Calendar now supports scroll labels again. These marks indicate that there is an event in a hidden part of a column.

  • Each calendar column displays two indicators (up and down).
  • The dimensions of the indicator div are 10x10 pixels.

Properties

  • ScrollLabelsVisible (bool) - enabled by default
  • ScrollUpLabelText (string) - obsolete, the value is ignored
  • ScrollDownLabelText (string) - obsolete, the value is ignored

CSS

The labels can be styled using *_scroll_up and *_scroll_down classes.

Default Theme

.calendar_default_scroll_up { 
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAB3RJTUUH2wESDiYcrhwCiQAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAARnQU1BAACxjwv8YQUAAACcSURBVHjaY2AgF9wWsTW6yGMlhi7OhC7AyMDQzMnBXIpFHAFuCtuaMTP+P8nA8P/b1x//FfW/HHuF1UQmxv+NUP1c3OxMVVhNvCVi683E8H8LXOY/w9+fTH81tF8fv4NiIpBRj+YoZtZ/LDUoJmKYhsVUpv0MDiyMDP96sIYV0FS2/8z9ICaLlOhvS4b/jC//MzC8xBG0vJeF7GQBlK0xdiUzCtsAAAAASUVORK5CYII=);
}
.calendar_default_scroll_down { 
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAALiMAAC4jAXilP3YAAACqSURBVChTY7wpam3L9J+xmQEP+PGPKZZxP4MDi4zI78uMDIwa2NT+Z2DYovrmiC+TI8OBP/8ZmEqwGvif4e8vxr+FIDkmEKH25vBWBgbG0+iK/zEwLtF+ffwOXCGI8Y+BoRFFIdC030x/WmBiYBNhpgLdswNJ8RSYaSgmgk39z1gPUfj/29ef/9rwhQTDHRHbrbdEbLvRFcGthkkAra/9/uMvhkK8piNLAgCRpTnNn4AEmAAAAABJRU5ErkJggg==);
}

JavaScript

You can enable the scroll indicators using scrollLabelsVisible property:

var dp = new DayPilot.Calendar("dp");
dp.scrollLabelsVisible = true;
// ...
dp.init();