js调绝对定位的top

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

你可能感兴趣的:(js调绝对定位的top)