0
我想實現這個功能,其作品無處不在,除了每一個版本的IE(去圖)奇jQuery的IE問題
<script type="text/javascript">
$(function() {
$('#twitterUserTimeline').liveTwitter('#regional from:el_carabobeno', {refresh: false, mode: 'search', showAuthor: false}, function(container, newCount){
$(".tweet:not(:first)").addClass('hidden'); // hide all twets but the first one
});
$("#twitterUserTimeline").hover(function() { // on hover
$(".tweet:not(:first)").removeClass('hidden'); // reveals them
}, function() { // on out
$(".tweet:not(:first)").addClass('hidden'); // hide them again
}
);
});
</script>
IE似乎不喜歡那些選擇,因爲如果我把他們趕走一切正常。
哪些選擇器給出了問題,以及哪個版本的jQuery? – 2010-08-20 00:15:59
所有這些,如果我刪除「選擇」推文加載的所有推文類的所有內容,如果我保留代碼原樣,那麼除IE之外的所有瀏覽器都適用,(因爲我使用的是截圖,所以無法看到該錯誤) 版本是1.4.2,實際上你可以看到它的工作/而不是在這裏工作http://s2.el-carabobeno.com/secciones/regional – raulriera 2010-08-20 00:19:09
它是否改變任何東西,如果你綁定到document.ready?也許IE在初始化時需要元素存在。 – Iznogood 2010-08-20 00:31:15