zoukankan      html  css  js  c++  java
  • 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)?

  • 相关阅读:
    mysql sql语句大全
    windows composer 安装,使用新手入门
    PHP 变量类型的强制转换 & 创建空对象
    window bat 运行 cmd 命令
    window apidoc的安装和使用
    linux apidoc的安装和使用
    RabbitMQ的安装与基本使用
    控制流之continue
    控制流之break
    控制流之while
  • 原文地址:https://www.cnblogs.com/kiddy/p/4612904.html
Copyright © 2011-2022 走看看