For color coding refer to blog . But for further enhancements see below information.
J-query refer it from you document library.
J-query refer it from you document library.
<script src="/Documents/jquery-1.3.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function()
{
//setting the row width for each and every bloc
$("td.ms-cal-monthitem").each(function()
{
var row1 = $("td.ms-cal-monthitem").parent();
var table1 =row1.parent().parent();
table1.width('100%');
});
//hiding the time
$("td.ms-cal-monthitem").each(function()
{
if( $(this).html().indexOf('<NOBR') != -1)
{
var left = $(this).html().indexOf('<NOBR');
var right = $(this).html().indexOf('</NOBR>')
var string = $(this).html().substring(left,right+7);
var calHTML =$(this).html();
var newHTML = calHTML.replace(string,'');
$(this).html(newHTML);
}
});
});</script>
No comments:
Post a Comment