第一个:您必须从函数表格提交false(不要重新加载页面)返回false。然后
d = new Date(),
day = d.getDate();
$(".image").each(function(i,e){
var number = $(e).attr("class").match(/\d+/);
if (number <= day)
$(e).addClass('active');
});
和
$('div.active').animate({"height":"0px", "width":"150px", "bottom":"75px"}, 500);