悬停意图不起作用,或者我正在做一些严重错误的事情
我一直在试图找出这个悬停意图插件,它难倒了我。这就是我所拥有的:
var config = {
over: $(this).children('.mo_url').css('display','block'), // function = onMouseOver callback (REQUIRED)
timeout: 500, // number = milliseconds delay before onMouseOut
out: $(this).children('.mo_url').css('display','none') // function = onMouseOut callback (REQUIRED)
};
$('.tag').hoverIntent( config )
我正在尝试在用户突出显示链接一两秒后显示一个简单的工具提示,以显示网址。这是我应该使用的吗?任何帮助将不胜感激。
I have been trying to figure out this hoverintent plugin and its stumping me. Here is what i have:
var config = {
over: $(this).children('.mo_url').css('display','block'), // function = onMouseOver callback (REQUIRED)
timeout: 500, // number = milliseconds delay before onMouseOut
out: $(this).children('.mo_url').css('display','none') // function = onMouseOut callback (REQUIRED)
};
$('.tag').hoverIntent( config )
Im Trying to get a simple tooltip to display after a user highlight a link for a second or 2, to display the url. Is this what i should be using? any help would be much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
成功!这是我所追求的间歇期。不是超时。
Success! It was the interval I was after. Not the timeout.