我想要做的是,动画和隐藏一些div,在closelink按钮点击,然后隐藏此按钮。功能的作品,但不隐藏closer_div
和FF给出错误信息Javascript错误:...不是功能
ftr_form_cntr.stop(true, true).animate({height: "0"}, 1000).pause is not a function
。其实它所有的操作都是非常重要的。这条线closer_div.hide();
。功能看起来像
$(closer_link).click(function() {
ftr_form_cntr.find("div").fadeOut();
ftr_form_cntr.stop(true, true).animate({height:"0"},1000).pause(2000).hide();
closer_div.hide();
});
错误消息说这一切......'暂停'不是一个函数。你的意思是“延迟”吗? –