View Single Post
  #2 (permalink)  
Old 30-11-04
Keith's Avatar
Keith Keith is offline
Moderator
 
Join Date: Aug 2003
Location: Richmond North Yorkshire
Posts: 2,177
Thanks: 49
Thanked 15 Times in 13 Posts
Keith seems to know their stuff
cant remember where it came from but I use this.

script type="text/javascript" language="JavaScript">
function checkImages()
{
var imagesArr = new Array();
imagesArr = document.getElementsByTagName("img");
for (var i=0; i
< imagesArr.length; i++)
{
if (imagesArr[i].width>"90")
{
imagesArr[i].width="90";
}
}
}
window.onload=checkImages;
</script

put the <> back on to get it to work.
__________________
Keith
My Blog general ramblings. Internet Marketing Blogs UK all the blogs together in one place (pm for inclusion)
Reply With Quote