how click button to add to favorites?

  • Thread starter Thread starter VB Programmer
  • Start date Start date
V

VB Programmer

How do I make a button so that when they click on it the site is added to
the Favorites?
 
<FORM>
<INPUT TYPE="button" VALUE="Add to Favorites"
onClick='window.external.AddFavorite(location.href, document.title);'>
</FORM>

Hope it helps,

Jeremy Reid
http://hgtit.com
 
<a href="javascript:if (document.all)
window.external.AddFavorite(document.location,document.title);">
Add this site to your favorites
</a>

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top