我有一个带有覆盖的图像列表。当我将鼠标移到图像上时,文本和覆盖图应该会使用JQuery消失。当我将鼠标悬停在图像上时,该特定图像的覆盖将消失,这是正确的。问题出在文本上。当我将鼠标悬停在图像上时,该图像和所有其他图像上的文本将消失。我只想要隐藏特定图像的文本和覆盖。这似乎是一个小问题,因为我得到了正确的覆盖工作。提前感谢朋友们。
下面是JQuery:
//Hides the screen and text on mouseover
$('.screen').mouseover(function() {
$('.screen_text').hide();
我试图在鼠标悬停时使图像抖动,我让它抖动,但它似乎经常抖动,而不是鼠标悬停时。
vibrate.js (使用vibrate插件 )
jQuery(document).ready(function() {
jQuery(".bottles").mouseover( function() {
// configurations for the buzzing effect. Be careful not to make it too annoying!
var conf = {
frequency: 600