[Javascript] Changing picture src stretches/squeezes new picture
Peter Brunone
peter at brunone.com
Wed Jul 10 22:10:50 CDT 2002
Group,
I have a single image in the center of the page, with a NAME attribute of
"mainPic". Now I trigger various functions from different clickable links,
that will change the .src attribute of mainPic. This works fine, but I've
noticed that in Netscape (version 4.x), the subsequent pictures either
expand or contract to the size of the original picture. How can I prevent
this?
Cheers,
Peter
More information about the Javascript
mailing list