我正在使用 jquery 线索提示,我在页面的右上角有一个链接,当我点击它时,我希望工具提示显示在我点击的底部,但它显示在中间屏幕或屏幕顶部。这是我的代码:
$('#personName').cluetip({
width: '500px',
showTitle: false,
topOffset: 25,
leftOffset: 5,
positionBy: 'bottomTop',
cluetipClass: 'jtip',
activation: 'click',
closeText: '<img src="/Content/Images/Icons/cross.png" alt="close" />Close',
hoverIntent: {
sensitivity: 7,
interval: 100,
timeout: 500
},
sticky: true,
mouseOutClose: true,
ajaxSettings: {
dataType: 'json'
},
ajaxProcess: function (data) {
var html = [];
html.push(data.Person.Name);
return html.join("");
}
});
我尝试将 positionBy 更改为“auto”或“mouse”,但它仍然不起作用。. 线索提示根本不处理屏幕右侧的链接吗?