我有一個圖像上顯示標題。標題浮在圖像上並顯示在底部。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