$(document).ready(function() {
$("#menu2 li a").wrapInner('');
$("#menu2 li a").each(function() {
$('' + $(this).text() + '').appendTo(this);
});
$("#menu2 li a").hover(function() {
$(".out", this).stop().animate({
'top': '100px' //设置切换行间距高度
}, 300);
$(".over", this).stop().animate({
'top': '0px'
}, 300);
}, function() {
$(".out", this).stop().animate({
'top': '0px'
}, 300);
$(".over", this).stop().animate({
'top': '-100px' //设置切换行间距高度
}, 300);
});
});