View Full Version : y doesnt this work in netscape 4.7?
makaveli.2003
02-10-2003, 12:18 PM
Can ne1 plz help??? works fine in version 7.
brothercake
02-10-2003, 12:34 PM
In netscape 4, you cannot resize images like that, and you can't refer to an object using getElementById.
So, if you conditionalise out these lines
var img = document.getElementById("prod" + rownum);
img.width = imgW;
img.height=imgH;
and *all* of these (may as well conditionalise the entire image preloading routine, since none of it is relevant without the dynamic modification)
imglist[0][0].width = imgW;
imglist[0][0].height = imgH;
then the rest of the script works
makaveli.2003
02-10-2003, 10:06 PM
Originally posted by brothercake
In netscape 4, you cannot resize images like that, and you can't refer to an object using getElementById.
So, if you conditionalise out these lines
var img = document.getElementById("prod" + rownum);
img.width = imgW;
img.height=imgH;
and *all* of these (may as well conditionalise the entire image preloading routine, since none of it is relevant without the dynamic modification)
imglist[0][0].width = imgW;
imglist[0][0].height = imgH;
then the rest of the script works
Thx alot, worked perfect when I took that out, really appreciate it!! :thumbsup: :)
brothercake
02-10-2003, 11:05 PM
No worries :)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.