IE9 中的 jQuery qTip - 动画滑动
我正在使用 qTip 插件作为工具提示。在 IE9 中,qTip 在出现时会“滑入”。有时它从屏幕顶部滑入,有时从左侧滑入,看似随机。其他一切都工作正常,就像在其他浏览器中一样 - qTip 以正确的样式显示,并在我离开该元素时正常消失。
我将其精简为所有默认值,所以我的代码现在是
$('.myclass').qtip({});
What is Causeing IE9 to make the tool Tips slip in like that?有办法阻止吗?在我尝试过的所有其他浏览器中,工具提示都会出现。 IE9 的动画并不可怕,但有点让人分心。
还有人在 IE9 中使用 qTip 吗?您看到这种行为了吗?
编辑:滑动行为是可预测的(不是随机的,如上所述)。第一次触发 qTip 时,它将从左上角滑入。第二次及随后触发该特定 qTip 时,它将从左侧水平滑入。
I'm using the qTip plugin for tooltips. In IE9, the qTip "slides" in when it appears. Sometimes it slides in from the top of the screen, sometimes from the left, seemingly randomly. Everything else works fine, just like it does in other browsers -- the qTip displays with the correct styles, and disappears normally when I leave the element.
I'm stripped it down to all defaults, so my code is now
$('.myclass').qtip({});
What is causing IE9 to make the tool tips slide in like that? Is there a way to stop it? In every other browser I've tried, the tool tip just appears. The IE9 animation is not terrible, but kind of distracting.
Is anyone else using qTip in IE9? Are you seeing this behavior?
Edit: the sliding behavior is predictable (not random, as stated above). The first time you trigger a qTip, it will slide in from the upper left-hand corner. The second and subsequent times you trigger that particular qTip, it will slide in horizontally from the left-hand side.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您使用的是 qtip 的第一个版本,您可以看看这个 论坛 帖子寻求解决方案。看来您需要修改插件才能解决该问题。如果这不起作用,您还可以尝试此解决方案 帖子。
If you are using the first version of qtip you can take a look at this forum post for a solution. It looks like you will need to modify the plugin in order to fix the issue. If that doesn't work you can also try the solution in this post.
你设置了它的位置吗?
http://craigsworks.com/projects/qtip/demos/position/fixed
Did you set its position?
http://craigsworks.com/projects/qtip/demos/position/fixed
这会删除或设置滑动行为:
This removes or sets the sliding behavior: