下面我使用jquery切换显示div。我需要添加什么才能让页面加载时只有第一个结果处于活动状态?修改jquery函数
$(document).ready(function(){
//Hide (Collapse) the toggle containers on load
$(".toggle_container").hide();
//Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state)
$("h6.trigger").click(function(){
$(this).toggleClass("active").next().slideToggle("slow");
return false; //Prevent the browser jump to the link anchor
});
有没有办法让第一场比赛动画?这样当页面加载时它已经处于活动状态 – mwimwi76 2011-02-10 22:08:43