<p>Here is an example of how to create renderers to format specific holidays with a special style:</p> <textarea name="code" class="JScript" cols="60" rows="1"> var cal1;
var renderHoliday = function(workingDate, cell) { YAHOO.util.Dom.addClass(cell, "holiday"); }
function init() { cal1 = new YAHOO.widget.Calendar("cal1","cal1Container"); cal1.addRenderer("12/25,1/1", renderHoliday); cal1.render(); } </textarea> </div>