【发布时间】:2011-09-09 13:22:18
【问题描述】:
我有这个:
$("#id").click(function() {
$('.swoosh div').fadeOut('fast', function(){
$('.template').fadeIn('fast');
});
});
.swoosh 是容器 div,并且
.template 是我点击#id 时想要保留的div,而.swoosh 中的所有其他div 都消失了。
我觉得有点傻,但我玩了好久都没有用。请帮助兄弟。
【问题讨论】:
-
你能给我们看看html吗