[thelist] no sniff. . .

Fortune Elkins fortune_elkins at summithq.com
Fri Mar 29 10:04:01 CST 2002


hiya chris!

thanks! i've updated the code to:

if (navigator.platform.substring(0,3).toLowerCase() == 'win') {if
((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') {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.write('<link rel="stylesheet" href="mac4.css" type="text/css">\n');
}}

but it still doesn't seem to sniff or write! the code's at
http://home.earthlink.net/~frelkins/testcss/test.html i've checked it with
4.79 on NT and 4.6 on Mac OS 9.1.

puzzled,

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