Note $("ul.thumb li").hover(function() { $(this).css({'z-index' : '10'}); /*Add a higher z-index value so this image stays on top*/ $(this).find('img').addClass("hover").stop() /* Add class of "hover", then stop animation queue buildup*/ .animate({ marginTop: '-110px', /* The next 4 lines will vertically align this image */ marginLeft: '-110px', top: '50%', left: '50%', width: '174px', /* Set new
{{#tags}}- {{label}}
{{/tags}}