Sharepoint list webpart

<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.0.min.js"></script>

<script type="text/javascript">

    $(function(){

        var myDate = new Date();

        $("#pageTitle").html("Standing Meeting Board  -  "+myDate.toLocaleDateString());

        $("#pageTitle").css("font-weight","bold");

        $(".ms-listviewtable td").css("border","1px solid #D8D8D8");

        $("th.ms-vh2-nofilter:contains('IssueNote')").css("min-width","450px"); 

        $("th.ms-vh2-nofilter:contains('NextAction')").css("min-width","450px"); 

        $("th.ms-vh2").css("font-weight","bold"); 

        $("th.ms-vh2-nofilter").css("font-weight","bold"); 

        $("td.ms-cellstyle.ms-vb2:contains('Critical')").css("background-color","#FA5858");

        $("td.ms-cellstyle.ms-vb2:contains('High')").css({"background-color":"#FA8258"});

        $("td.ms-cellstyle.ms-vb2:contains('Medium')").css("background-color","#FE9A2E");

        $("td.ms-cellstyle.ms-vb2:contains('Low')").css("background-color","#FACC2E");

        $("td.ms-cellstyle.ms-vb2:contains('Follow-Up')").css("background-color","#F3F781");

    });

</script>

 

sharepoint list color change, column width change, add titile (bold with date)?

你可能感兴趣的:(SharePoint)