我正在创建一个站点,您可以将鼠标悬停在图像上,它将显示一个元素(在本例中,通过将其高度从0扩展到154 to )。jQuery(document).ready(function(){ jQuery("#dropdown-menu-create .toggle").animate({height:"154px"},
Final Edit:下面的文字墙可以简单地问:“我能用jQuery的animate()指定动画的速度吗?所提供的只是duration。”<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></div id="b"
当你点击按钮时,它们会加载页面,但在悬停时,我在WordPress模板中有以下jQuery,它会将我的内容加载到div中: function(){ #menu-item-69 a, #menu-item-68 a, #menu-item-67 a") jQuery("#content").load(jQuery