我要建一个大型的菜单,在这里我希望能够通过双方悬停(使用鼠标)和重点触发菜单(如通过tab键切换到它键盘)。 这就是我目前在做: $(".megaMenu-trigger").focus(function(){$(this).hover()});
$(".megaMenu-trigger").hover(function(){
// do the stuff
});
这工作,但我
我有一些旋转图像隐藏字幕,我想用jQuery公布时,有人悬停。每个图像+标题是这样的: <img src="images/picture.jpg" id="feature-1-image" />
<p id="feature-1-caption" class="feature_caption">1: Here is the caption</p>
标题设置为显示:无;并放置在顶部:-75px