enlarge(zoom) an image

Kmandapalli
Posted by Kmandapalli under jQuery category on | Points: 40 | Views : 318
$(document).ready(function(){
$('#imgSmile').width(200);
$('#imgSmile').mouseover(function()
{
$(this).css("cursor","pointer");
});
$("#imgSmile").toggle(function()
{$(this).animate({width: "500px"}, 'slow');},
function()
{$(this).animate({width: "200px"}, 'slow');
});
});

Comments or Responses

Login to post response