M
Mike
I need to be able to set EITHER document.imageName.width OR
document.imageName.height to a specific value and then have the other
property set to it's default. For instance, if I was going to
hard-code all these images, some would look like <img src=blah
width=100> and some would look like <img src=blah2
height=100>. How do I "leave off" the second sizing parameter from
javascript. I've tried width='', width=0, width=null - none of these
work as they make the image have zero width.
document.imageName.height to a specific value and then have the other
property set to it's default. For instance, if I was going to
hard-code all these images, some would look like <img src=blah
width=100> and some would look like <img src=blah2
height=100>. How do I "leave off" the second sizing parameter from
javascript. I've tried width='', width=0, width=null - none of these
work as they make the image have zero width.