I wanted to change this inline javascript at the bottom of my html to a external.js file. It alter the image size depending if the mouse is on it or not. I wanted to know if I had to change change the below code or if I were calling the css elements wrong.
<SCRIPT LANGUAGE="JavaScript">
$('img').hover(function(){
$(this).css({width:"100%",height:"100%"});
},function(){
$(this).css({width:"50%",height:"50%"});
});
</SCRIPT>
I want to thank everyone who down voted my question; as I beginner when I asked this question (still am), you made me feel warm and comfortable here and gave me lost of confidence.