Calendar not displaying in mozilla


Hi,



 



I am using DHTMLX calendar it is working properly in IE7 but it’s not getting displayed in mozilla. It is also not giving any javascript error, so that i can track. Following is my code :



var mCal = new dhtmlxCalendarObject(target,true,{headerButtons: true,btnPrev: true,btnNext: true,btnBgPrev: true,btnBgNext: true,isYearEditable: true,isMonthEditable: true});



mCal.setSkin(‘yahoolike’);



mCal.show();



Please suggest me where i make change to show calendar in mozilla also.



Thanks in Advance,



Namrta



 

Do you mean dhtmlxCalendar or dhtmlxScheduler ?
Which version of Mozilla you are using?
Basically both components must work in latest versions of Mozilla without any extra customization.


You can try to call calendar initialization code from window.onload:


window.onload = function () {


var mCal = new dhtmlxCalendarObject(…);


mCal.setSkin(‘yahoolike’);

mCal.show();



}