Does the Image() class/object have an event handler for onLoad, and when this event fires, is it possible to get the width and height of the image?My objective is to be able to put the correct width and height attributes into an img element. it works in every browser i've tested but my client is telling me that some users on his site are seeing the images at a very small resolution, i'm assuming 32x32 because that's the default image size.. i think.
any suggestions? there might be something wrong with my class file, also. it's for a dynamic image menu. it's here:
http://firelitehosting.com/~admin/ImageMenu.js
thanks,
chris