gpt4 book ai didi

jquery - 对象不支持属性或方法 'qtip'

转载 作者:行者123 更新时间:2023-12-01 07:29:38 25 4
gpt4 key购买 nike

function callQtip(textContent, cnt, object_iframe) {
var iFrameEleId = object_iframe
$(iFrameEleId).qtip({
content: {
prerender: false,
text: "<div style='width:100%; height:100%;' border='0'><iframe id='iframe" + cnt + "' marginheight='0' marginwidth='0' class='frameclass' src='" + textContent + "'&disablelink=y' scrolling='no' frameborder='0' allowTransparency='false'></iframe></div>"
},
position: {
my: "left top",
at: "left top",
target: $(iFrameEleId),
viewport: $(window),
adjust: {
method: 'shift',
x: 420,
y: -10
}
},
show: {
solo: false,
delay: 150
},
hide: {
delay: 350,
fixed: true,
event: 'click mouseleave'
},
style: {
classes: "ui-tooltip-blue",
tip: {
corner: 'center center',
mimic: 'center center'
}
}
});
}

抱歉..实际编码是这样的。

最佳答案

确保您拥有对 qtip 库的有效引用。像这样的东西:

 <script type="text/javascript" src="/js/jquery.qtip.min.js"></script>

关于jquery - 对象不支持属性或方法 'qtip',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7169781/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com