hwg-basics archives | Mar 2001 | new search | results | previous | next |
IE versus Netscapeby "Phil Collis" <phil(at)databasewebsites.co.uk> |
|
Please help if you can. I'm using an array to load images into image tags on a HTML page and it works fine with Internet Explorer, but not with Netscape. I know Netscape users layers instead of all but I tried just changing document.all to document.layers and it didn't work. Does anyone know how I would translate this piece of Javascript written for IE into Netscape lingo? if(document.all[imgname]){ document.all[imgname].src=imgsrc[p]; document.all[imgname].alt=orderno[p]; document.all[imgname].title=adtitlesrc[p]; document.all[imgname].border=0; allocations++; } Thanks in advance Phil Collis phil(at)databasewebsites.co.uk
HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA