js调绝对定位的top

$("ggg div").each(function () {
                this.style.top = (parseFloat(this.style.top.replace("px", "")) - 165) + "px";
            });

posted @ 2016-01-28 15:06  小小高  阅读(2184)  评论(0)    收藏  举报