A week has passed since our previous tip and again we’re ready to share a cool and useful feature.
Just two steps!
First of all, we need to initialize dhtmlxCalendar on the page:
Then we set tooltips on the dates which we’d like to mark, and specify the needed text:
myCalendar.setTooltip("2014-11-27", "Thanksgiving Day", true, true);
myCalendar.setTooltip("2014-11-30", "The end of Movember :)", true, true);
As a result:
That’s all. Just several lines of code and this nice-looking feature is ready.