开发者

jQuery tooltip offset

$(document).ready(function() {
 $("#demo img[title]").tooltip({effect: 'slide'});
});

I want to add an offset to this function, but whe开发者_Go百科n i add offset [20, 0], it doesn't work. I would like to know how to code using 2 parameters.


$(document).ready(function() {
 $("#demo img[title]").tooltip({effect: 'slide', offset: [10, 2]});
});

this should just work fine. If you have a problem, post you code.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜