...

View Full Version : Browser conditions



florida
01-10-2003, 06:41 PM
How can I make conditions where if it is a Netscape brwser it gives me just a text and if it is a IE browser it gives me a link. I have this link that I want to show in my IE browsers but just show a text if in Netscape browser.

The html for for IE:
<a href="mypage.html">mypage Link</a>

HTML for netscape:
<p>mypage Link is only available in IE</p>

mordred
01-10-2003, 07:24 PM
The most significant information about the browser you'll find in navigator.userAgent. Alternatively, test for certain objects that are proprietary to specific browsers or do indicate that a technology like w3c DOM is supported.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum