我有四行文字,我想在每行的右侧显示mouseenter
上的特定图像。jQuery show/hide/mouseenter问题
我有现在的问题是,所有的四个图像同时显示beeing。
我在做什么错?
http://jsfiddle.net/m97qebjr/10
的jQuery:
$(".thumb").hide();
$(".text").mouseenter(function() {
$(".thumb").show();
}).mouseleave(function() {
$(".thumb").hide();
});
纯CSS也很棒...非常感谢! – Too 2014-10-29 21:58:51
@too欢迎您 – 2014-10-29 22:00:33
这显示图像.wrap'悬停时',他的版本显示,只有当'.text'悬停图像。 – 2014-10-29 22:03:51