s2.add(2000,function(){
g('zongzi').className = 'zongzi zongzi-out';
g('zongzirou').className = 'zongzirou zongzirou-in';
g('zuoye').className = 'zuoye zuoye-in';
g('youye').className = 'youye youye-in';
})
s2.add(2500,function(){
g('zuoye').className = 'zuoye zuoye-in zuoye-out';
g('youye').className = 'youye youye-in youye-out';
g('diye').className = 'diye diye-in';
})
把css和html 的程序也传上来吧,有些可能不是js 的问题