Forum Moderators: open
I have a small script currently to detect either IE or NN, but I'm wondering if it's possible to modify it so that it detects IE/Mac, IE/Win, NN/Mac and NN/Win
Here's what I have already:
if (browser_type == "Microsoft Internet Explorer" && (browser_version >= 4)) {
document.write("<link REL='stylesheet' HREF='style.css' TYPE='text/css'>");
}
else if (browser_type == "Netscape" && (browser_version >= 4)) {
document.write("<link REL='stylesheet' HREF='style.css' TYPE='text/css'>");
}
Thanks for your help :)