Have you tried using jQuery's height() method to get the height of the image? There's likely cross-browser compatibility fixes built in. $('.image img').hover(var . slideUp() method animates the height of the matched elements. This causes lower parts of the page to We can animate any element, such as a simple image. Learn for free about math, art, computer programming, economics, physics, chemistry, biology, medicine, finance, history, and more. Khan Academy is a.
On the Guardian newspaper website they use a jQuery text slide up / slide down effect when you hover over the images. I've recreated the. DOCTYPE html> jquery//style101.us">
It is remarkable, it is very valuable answer