开发者

jQuery FancyBox: How do I increase the width of the element #fancybox-wrap by 10 px?

In jQuery FancyBox, I need to increase the width of the element #fancybox-wrap by 10 px. What is the easiest way to achi开发者_如何学Ceve this?

Thanks.


if you are in jQuery 1.4

you could

$(document).ready() {
    $("#fancybox-wrap").width(function(i,width){
        return width + 10;
    });
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜