chengpin360.comtext/javascript"> $(document).ready(function(){ booksWidth = $("#books").width()*3/16 $("#books .item img").width(booksWidth) $("#books").height($("#books img").width()*166/496) $("#books .item").width(booksWidth/3) $("#item6").width(booksWidth) $("#books .item").hover(function(){ if ($(this).hasClass("curr")){ return } $(this).animate({width:booksWidth+"px"},"slow").addClass('curr').siblings(".curr").animate({width:booksWidth/3},'slow').removeClass('curr') },function(){}) $("#books").width($("#books").width()*1.1) })