Jump to content

image rollover problems


Jago6060

Recommended Posts

my code is set so I can enlarge the images but they don't retain their original proportions.  Anyone know how I can keep the image proportions?

 

heres my function...

 

<script language="JavaScript">
function imgEnlarge(obj){
   obj.height += 150;
   obj.width += 150;
}
function imgShrink(obj){
   obj.height -= 150;
   obj.width -= 150;
}
</script>

Link to comment
https://forums.phpfreaks.com/topic/62122-image-rollover-problems/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.