PDA

View Full Version : browser compatability?


whatsupyous
09-05-2002, 10:41 PM
ummmm, how do you make your site so that it recognizes the browser the user is using and loads the correct site for the correct browser. lets say i have a site that only really runs with ie 5.5+ or netscape 6+. how do i make it so that if someone from something lower than that goes to like a simpler page the the browser can recognize?

brothercake
09-05-2002, 11:20 PM
I wouldn't recommend redirection - it's disconcerting for users and tedious to maintain multiple pages.

The ideal, I think, is to design pages that mostly work cross-browser, and then use javascript to selectively write bits of it for certain browsers.

Either way, start with a generic sniffer script such as this one (http://www.brothercake.com/scripts/sniffer.shtml)