mouseon 放大圖片

HTML:

< img src="image.png" width="90%" class="resizableImage" >

JQUERY:


$('.resizableImage').hover(makeBigger, returnToOriginalSize);
function makeBigger() {
     $(this).css({height: '+=10%', width: '+=10%'});
 }
 function returnToOriginalSize() {
     $(this).css({height: "", width: ""});
 }