I am trying to make a simple animation using JQuery. I have tried adding the script externally(external file) and internally(within script tags). I have testing if the page is recognizing the script using the alert function, but the script is not executing. I am thinking that is has something to do with the syntax.
$("#container5").hover(function() {
//hover in
$(#container5).animate({
height: "250",
width: "250",
left: "-=50",
top: "-=50",
}, "fast");
}, function() {
//hover out
$(#container5).animate({
height: "200",
width: "200",
left: "+=50",
top: "+=50",
}, "fast");
}
})(jQuery);