No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
[CODE]<script language="javascript"> function autoSize(i) //to within table cell; { (i.width/i.parentNode.width) > (i.height/i.parentNode.height) ? i.style.width = 157.5 : i.style.height = "100%" }; </script> <body> <img src="your image.jpg" onload="autosize(this)"> </body>[/CODE] simple :icon_smile:
hello friends try this. [CODE]<script language="javascript"> function autoSize(i) //to within table cell; { (i.width/i.parentNode.width) > (i.height/i.parentNode.height) ? i.style.width = "100%" : i.style.height = "100%" }; </script>[/CODE] put above code inside head and use this tag inside body. [CODE]<img onload='autoSize(this) src="yourimage.asp">[/CODE] enjoy:icon_lol:
The End.
prabinrai