我有一个图像上显示标题。标题浮在图像上并显示在底部。jQuery闪烁mouseOver问题
我有一个jQuery事件,当你翻转图像时,它显示标题。像这样:
function showCaption(id) {
var theID = "#caption_" + id;
$(theID).fadeIn('200');
}
而当你推出:
function hideCaption(id) {
var theID = "#caption_" + id;
$(theID).fadeOut('200');
}
然而,当你翻转的标题,它认为你已经推出了图像和淡出。有没有什么办法解决这一问题?
这里有一个链接:Example
感谢,库尔顿
how/when showCaption/hideCaption called? – Kraz 2011-06-16 16:39:33
当你翻转image.Here是我的代码片段:'');” onmouseout =“hideCaption('<?php echo $ the_short_string;?>');”/>' – iosfreak 2011-06-16 16:40:48