[thelist] no sniff. . .

Fortune Elkins fortune_elkins at summithq.com
Thu Mar 28 08:28:01 CST 2002


hiya!

my sniff & write css -- no sniff!

if (navigator.platform.substring(0,3).toLowerCase() ==
'win')&&(appName=="Netscape")&&(parseInt(appVersion)==4) {
document.write('<link rel="stylesheet" href="ns4.css" type="text/css">\n')

else if (navigator.platform.substring(0,3).toLowerCase() ==
'mac')&&(appName=="Netscape")&&(parseInt(appVersion)==4)
document.write('<link rel="stylesheet" href="mac4.css" type="text/css">\n')
}

what obvious dumb thing am i overlooking this morning?<grin> the problem
seems to be in the "else if" for the mac...?

tia,

f

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.




More information about the thelist mailing list