Using HTML and javascript, is it possible to adjust the size of an image for a...

  • Thread starter Thread starter G A
  • Start date Start date
G

G A

Guest
...mouseover event? I have an image file on a web page I am designing. For formatting purposes of the text on the page, the image must display much smaller than I would really like. (I've adjusted the image using the width and height properties in the IMG tag so it appears smaller than it would otherwise appear.) I want to be able to enlarge the image when the mouse is hovering over it, so people can see it better, and I want the image to revert to its formatted size when the mouse is no longer hovering over it. For the purpose of this question, lets assume the file name of my graphic is image.gif . Can I do this with javascript, and if so, how?
 
Back
Top