[thelist] javascript: images sizes in NN4.7

Erik M. Sabowski sabowski at wam.umd.edu
Wed Aug 2 00:46:13 CDT 2000


what do you have to do in NN to make it so that when changing an image
with the onClick event, the image will change to the size of the new
image? i was fooling around with this using 2 images of considerably
different size, and when i click on the image, the new image is scaled to
the same size as the old one. i tried having the function change the
image.height and image.width properties, but these are apparently
read-only attributes. i also set the height and width when declaring the
image (with new Image( width, height )) but that also did no good

#airyk

+--------------------------------+
| Erik M. Sabowski               |
| Computer Assistant, NOAA (NGS) |
| sabowski at wam.umd.edu           |
+--------------------------------+
| "Don't try to out-stupid Erik" |
|                        -ash    |
+--------------------------------+





More information about the thelist mailing list