【发布时间】:2014-01-26 12:00:09
【问题描述】:
我对javascript一无所知。有人可以解释一下这段代码有什么问题(这是语法错误)吗?
$(document).ready(function () {
$('.picture').qtip(
{
content: {
text: $(this).next('.tooltiptext')
}
position: {
my: 'bottom center', // tooltips tip at bottom center...
at: 'top center', // in relation to the button's top center...
target: $('.picture') // my target
}
});
});
非常感谢。
【问题讨论】:
-
如果是语法错误,就会出现控制台错误 - 按
F12查看
标签: javascript syntax qtip2