模仿写个jQuery版本有问题请指出
$("li").hover(
function () {
$(this.children[1]).stop().animate({"height":"120px"},200);
},
function () {
$(this.children[1]).stop().animate({"height":"0"},200);
}
)
$("li").hover(
function () {
$(this.children[1]).stop().animate({"height":"120px"},200);
},
function () {
$(this.children[1]).stop().animate({"height":"0"},200);
}
)