0
我正在使用這個插件:http://wordpress.org/extend/plugins/wpmbytplayer/ 但是,當我運行下面的jQuery來爲頭部創建一個框時,背景視頻停止並凍結。有誰知道爲什麼?jQuery在wordpress衝突
jQuery(function($) {
jQuery('#open').click(function(){
jQuery('#pull_down_content').animate({'top':'-25px'},1000);
jQuery('#open').fadeTo('slow', 0);
});
jQuery('#close').click(function(){
jQuery('#pull_down_content').animate({'top':'-800px'},1000);
jQuery('#open').fadeTo('slow', 1);
});
});
將'$'傳遞給函數的想法是你*不必*使用詳細的'jQuery'。 – 2012-07-17 00:30:01