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