简体   繁体   English

提示提示工具提示在图像上闪烁

[英]cluetip tooltip flicker when over image

I have placed a cluetip tooltip over an image and added html links to the cluetip by an external file. 我在图像上放置了提示提示工具提示,并通过外部文件添加了指向提示提示的html链接。 I am trying to get the cluetip to open on mouse over the image and then close when mouse out of the image. 我试图让提示在鼠标悬停在图像上方打开,然后在鼠标移出图像时关闭。 This all works except for the cluetip flickers as I move the mouse over the cluetip/image as i select one of the three buttons... 除了当我选择三个按钮之一时将鼠标移到提示/图像上时提示提示闪烁外,所有其他操作都有效。

These must be a way to do this, if anyone can help me Thanks 如果有人可以帮助我,这些必须是一种方法,谢谢

I currently have: 我目前有:

$(document).ready(function() {
  $(\'a.tips\').cluetip({
    width: 80,
    topOffset: -45,
    leftOffset:-90,
    positionBy: \'fixed\',
    cluetipClass:     \'rounded\',
    showTitle:        false,
    sticky:           true, 
    mouseOutClose:    true
      });  
});

What would be good is to use sticky 'true' with mouse out close, but I cannot get this to work. 最好在鼠标离开时使用粘性“ true”,但我无法使它正常工作。

Usually adding .stop() fixes flickering issues. 通常添加.stop()解决闪烁问题。 I haven't used cuetip before, but try something like: 我以前没有使用过cuetip,但可以尝试以下操作:

$(\'a.tips\').stop().cluetip({ ... });

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM