Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The HTML code for "Add this site"

Status
Not open for further replies.

ffaucher

IS-IT--Management
Jul 31, 2000
102
CA
Could one help me to find the HTML code for the phrase "Add this site to your favorites" that I want to put on my page.

Many thanks
 
For the active page:
<SPAN STYLE='cursor:hand;text-decoration:underline;'onclick='window.external.AddFavorite(location.href,document.title);'>» Click here to add this page to your favorites</SPAN>

To be sure it's always the home page:
<A HREF=&quot;javascript:window.external.addFavorite(' Title');&quot;>Click here to add the homepage to your favorites!</A>

Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top