Jquery 如何在鼠标悬停的基础上移动qtip提示
我正在使用qtip作为工具提示,并基于光标移动工具提示。我应该调用函数将箭头指针从左向右,然后从右向左动态移动。我将在鼠标移动时将尖端向左位置从10%更改为95%Jquery 如何在鼠标悬停的基础上移动qtip提示,jquery,Jquery,我正在使用qtip作为工具提示,并基于光标移动工具提示。我应该调用函数将箭头指针从左向右,然后从右向左动态移动。我将在鼠标移动时将尖端向左位置从10%更改为95% jQuery('.fire-object a img').each(function() { jQuery(this).qtip({ // within an each() loop, $(this) refers to the trigger
jQuery('.fire-object a img').each(function() {
jQuery(this).qtip({
// within an each() loop, $(this) refers to the trigger
content: jQuery(this).attr('title'),
style: {
width: 110,
padding: 5,
background: '#FFFFFF',
color: 'black',
textAlign: 'center',
border: {
width: 7,
radius: 5,
color: '#FFFFFF'
},
tip: 'bottomLeft',
name: 'dark' // Inherit the rest of the attributes from the preset dark style
},
position: {
my: 'left top',
target: 'mouse',
viewport: $(window), // Keep it on-screen at all times if possible
adjust: {
x: 10, y: 10
}
},
hide: {
fixed: true // Helps to prevent the tooltip from hiding ocassionally when tracking!
}
});
});
有什么想法吗?提前感谢。qTip2已退出。功能:我已经做到了。在鼠标跟踪中,当我移动鼠标时,我想调用函数将箭头从左向右移动,然后从右向左移动请检查上面的链接您当前的代码是什么?