Code Snippet
Add To Favorites (IE)
<a href="http://site.com" onclick="window.external.AddFavorite(this.href,this.innerHTML);">Add Favorite and Go-To-There</a>The first param to AddFavorite is the URL, the second the text to offer up for saving. So this inline JavaScript is reusable in the sense that it will pull those values dynamically from the anchor link itself.
Thank you ‘For Examples’
Http://Www.Adc-M.Com/HtmlCode/
Thanks ,
what about set home page in IE or FF?
Test that for firefox :
onclick=”window.sidebar.addPanel(this.innerHTML,this.href,”");”
if you use PHP or ASP you can detect browser with HTTP_USER_AGENT variable and send the correct code for make the link…
DigWP
A book and blog co-authored by Jeff Starr and myself about the World's most popular publishing platform.
Quotes on Design
Design, like Art, can be an elusive word to define and an awfully fun thing to have opinions about.
HTML-Ipsum
One-click copy to clipboard access to Lorem Ipsum text that comes wrapped in a variety of HTML.
Bookshelf
Hey Chris, what books do you recommend? These, young fertile mind, these.