[Javascript] Only visible in Internet Explorer
Hassan Schroeder
hassan at webtuitive.com
Wed Oct 23 11:23:44 CDT 2002
ws wrote:
> Hi there,
>
> How do I make the link "invisible" in other browsers than Internet
> Explorer?
Actually, you don't even need JavaScript; IE recognizes what are
called "conditional comments" -- for example,
<!--[if IE]>
<a
href="javascript:window.external.AddFavorite('http://www.urlgoeshere.com',
'Example bookmark link')">
Bookmark</a>
<![endif]-->
Non-IE browsers will treat this as a standard HTML coment, but IE
will display it.
HTH!
--
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
--- ---
--- dream. code. ---
More information about the Javascript
mailing list