Thanks Mike, I'll get in touch with the people behind this web page.
Regards,
Erik P. Olsen
** Reply to message from Michael Kaply <[EMAIL PROTECTED]> on Fri, 17 May 2002
16:21:42 -0500
> Incidentally, I had someone check and this page fails on Linux as well.
>
> It only works on Win32 and MacPPC.
>
> Michael Kaply wrote:
>
> > INCREDIBLY crappy web page.
> >
> > Checkout this JS code in functionpublic.js
> >
> > var idbrowser;
> >
> > if (platform=="MacPPC") {
> > if (browser=="Microsoft Internet Explorer") {
> > if (version=="4.0 (compatible; MSIE 5.0; Macintosh; I; PPC)") {
> > idbrowser = "iepc" }
> > else { idbrowser = "iemac" }
> > }
> > if (browser=="Netscape") { idbrowser = "nsmac" }
> > }
> >
> > if (platform=="Win32") {
> > if (browser=="Microsoft Internet Explorer") { idbrowser = "iepc" }
> > if (browser=="Netscape") { idbrowser = "nspc" }
> > }
> >
> > var id = idbrowser;
> >
> > Then when it loads the stylesheet:
> >
> > document.write('<LINK REL=stylesheet HREF=/css/' + idbrowser + '.css
> > TYPE=text/css>');
> >
> > What this basically means is that no browser that is not on Windows or
> > MacPPC will work since idbrowser is set to nothing.
> >
> > Send them email and tell them to fire all their web developers or send
> > them back to high school.
> >
> > The fix is to default idbrowser to something - var idbrowser = "nspc";
> >
> > I tried this and it works great.
> >
> > "Erik P.Olsen" wrote:
> >
> >> I get overlayed text on web site http://www.fkb.dk, apparently on a
> >> table. Is
> >> this something which is known and scheduled to be fixed?
> >>
> >> Regards,
> >> Erik P. Olsen
> >