how click button to add to favorites?

V

VB Programmer

How do I make a button so that when they click on it the site is added to
the Favorites?
 
B

blackstaronline.net

<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
 
B

Bruce Barker

<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

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top