Eric Vaandering wrote: > Lucas MacBride wrote: > >> Erik Harris wrote: >> >>> http://www.interplay.com/product.asp?GameID=299 >>> >>> I was looking for a patch for Baldur's Gate 2, and when I went to its >>> page on >>> Interplay's site (linked above), I get "One Moment....Loading >>> Information" >>> >>> With Netscape 4.78 and with IE 5, this message lasts a second or so, >>> and then >>> is replaced with the text and links about the game. Not with Mozilla, >>> though. I dunno what it is about this page that's doing it, but it >>> ain't >>> workin... >> >> >> Looks like they did a browser sniff for "Netscape" and assumed all >> version of Netscape know what LAYER tags are. The info is in the >> source code, if you really want it, just cut 'n' paste it into a word >> processor >> and repair it so you can print it legibly. > > > > Bug filed some time ago: > > > interplay.com - [LAYERS] bad layout - > http://bugzilla.mozilla.org/show_bug.cgi?id=79372 >
The bug is in the browser detection routine ON THIS SITE, not Mozilla. The server has sent through LAYER tagged coding, which works in Netscape 4, but not in Netscape 6 or Mozilla. LAYER tags are not supported by Mozilla/NS6 because they use the W3C DOM standard for "DHTML". LAYER tags don't work in IE because it uses its own Document Object Model (not quite the W3C standard, either). If you browse this site with IE, you'll probably get DIVs instead of LAYERS. The site is detecting your browser and sending different coding depending on what browser you have, but their detection scheme seems to be unaware of the new DOM standard.
