Hello!
I want to customize month_scale_date as my attached image, i tried to edit :
scheduler.templates.month_scale_date=function(date) {
switch (date.getDay())
{
case 0: //Sunday
return "<img src=\"../common_files/images/sun.gif\" alt = \"日\"/>";
break;
case 1: //Monday
return "<img src=\"../common_files/images/mon.gif\" alt = \"月\"/>";
break;
case 2: //Tuesday
return "<img src=\"../common_files/images/tue.gif\" alt = \"火\"/>";
break;
case 3: //Wednesday
return "<img src=\"../common_files/images/wed.gif\" alt = \"水\"/>";
break;
case 4: //Thursday
return "<img src=\"../common_files/images/thu.gif\" alt = \"木\"/>";
break;
case 5: //Friday
return "<img src=\"../common_files/images/fri.gif\" alt = \"金\"/>";
break;
case 6: //Saturday
return "<img src=\"../common_files/images/sat.gif\" alt = \"土\"/>";
break;
default:
return "";
break;
}
}
And tried to edit CSS : .dhx_scale_bar {
background-color:#FFFFFF;
padding:0px 0px 0px 0px;
margin:0px 0px 0px 0px;
text-align:center;
border:none;
position:absolute;
}
But it have a litle padding, i want it don’t have any padding.
Please help me how to solve that.
Thanks!