Click to See Complete Forum and Search --> : onClick w/ browser detection


smdemo
02-20-2003, 05:05 PM
I am looking for code that when a user clicks on a href and the browser used is NN6+ or IE4+ it goes right to the link, but if they are using an older version of that it will still take them to that link but a new window will open with a statement saying the page will not work with their current browser.

Thanks in advance for any help.

Steve

gil davis
02-20-2003, 05:58 PM
You should put the detection code in the page so that if they get to it from another way the message will appear.

Charles
02-21-2003, 04:35 AM
You should write your page in HTML 4.01 Strict (http://www.w3.org/TR/html4/) and folloing the Web Content Accessibility Guidelines 1.0 (http://www.w3.org/TR/WCAG10/) and then your page will work on all browsers.