S_Tomato

三人行,必有我师焉!君子以德回帖~~~

 

SharePoint 2010 系统Web Part title圆角设置

目前还没有找到怎么只改动css就达到修改系统wp title圆角问题,

只能用js方法去变通修改,以下是我的js代码

function WPHeaderRound(){
        $("tr.ms-WPHeader").each(function(){
            $(this).find("td.ms-wpTdSpace").each(function(index){
                if(index == 0){
                    $(this).addClass("cus_wpleftround");
                }else if(index == 1){
                    $(this).addClass("cus_wprightround");
                }
            });
        })
    }

如果有更好的解决方案,欢迎一起交流

posted on 2012-04-13 10:56  S_Tomato  阅读(152)  评论(0)    收藏  举报

导航