Code: Select all
<script language="javascript" type="text/javascript">
<!--
function resize_images()
{
for (i = 1; i < document.images.length; i++)
{
while ( !document.images[i].complete )
{
break;
}
if ( document.images[i].width > 550 )
{
document.images[i].width = 550;
}
}
}
//-->
</script>
Code: Select all
<body bgcolor="#FFFFFF" text="#111111" link="#9F0002" vlink="#9F0002" leftmargin="0" topmargin="0" onload="resize_images()">
Code: Select all
(mw3_rmw_img.width > Math.floor(((mw3_posts[mw3_i].firstChild).clientWidth * 0.9)) ) )
Code: Select all
mw3_rmw_img.style.width = Math.floor(((mw3_posts[mw3_i].firstChild).clientWidth * 0.9)) + 'px';
spooky2280 wrote: Thank you reddog. I would like to point out that the development of rmw (Resize Posted Images Based on Max Width) is over, unless bugs are found. (...) So you'll tell me why didn't you do the same with rmw? Well, it's because mw3 is not as compatible with old browsers as rmw is. For instance, mw3 doesn't work with NN6 and rmw does. And development of mw3 is just beginning. As soon as bugs will be found, I will try and figure out solutions. Enjoy!