私のjquery文字列にfadeinを追加しようとしていますので、divをクリックするとフェードインします。私はフラッシュを取得してからフェードしません。私はまだjqueryの初心者です。これはうまくいくようですか?fadeInの効果が点滅するだけです
$(document).ready(function() {
$("#Thumb1").click(function() {
$("#hidden").html('<iframe src="http://player.vimeo.com/video/38366163" width="508" height="286" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>').hide().fadeIn('2000');
$("#leftsidePlayer").text("hey there new text!");
});
});
私も同じで.hide
、私のCSSでdisply: none
を使用して影響を与えてみました。
どこHTMLとは?関数はまったく実行されていますか?これを確認できますか?それ以外の場合は '$("#Thumb1 ")を試してください。bind( 'click'、function(){...});' – Smamatti
@Smamatti。 '.click === .bind( 'click')'彼の問題は文字列の長さであり、数字でなければなりません( '' slow '\' fast''の文字列) – gdoron