qTip2中未定义选项

时间:2013-07-09 09:54:34

标签: qtip2

我有Uncaught ReferenceError:未定义选项。

以下是代码:

// Create the tooltips only when document ready
$(document).ready(function()
{
    // MAKE SURE YOUR SELECTOR MATCHES SOMETHING IN YOUR HTML!!!
    $('a').qtip({
        content: {
            title: {
                text: 'text',
                button: 'close'
            },
            text: 'asfaf'
        },
        hide: {
            fixed: true,
            delay: 300
        },
        position: {
            my: 'left center',
            at: 'right center',
            target: 'event'
        }
    });
});

您还可以访问http://jsfiddle.net/H4aTZ/2/

1 个答案:

答案 0 :(得分:0)

显然,标题和职位一起工作存在问题。可能他们很快就会发布更新。

同时,如果你使用夜间版本它实际上工作:) http://qtip2.com/v/nightly/