WebsiteGear Logo Log In
New User? Sign Up
About | Contact | FAQ
Home Discussion Forums Website Development HTML & DHTML
New Post New Post | Report Abuse Report Abuse


Code for 'add to favorites'
Post by webgear on Aug 11, 2006 5:56:22 PM CST


The code below shows a link on your web page to allow a visitor to add it to the favorites menu by clicking on the link.

<script language="JavaScript" type="text/javascript">
function addBookmark(){
if (document.all) {window.external.AddFavorite(location.href, document.title);}
else if (window.sidebar){window.sidebar.addPanel(document.title, location.href, "");}
}
</script>
<a href="JavaScript:addBookmark();"
onclick="addBookmark();">Add to your favorites</a>





Submit To Slashdot Slashdot | Submit To Digg.com Digg | Save in del.icio.us Del.icio.us | Submit To Reddit Reddit
REPLIES & COMMENTS Post a Reply
LATEST FORUM POSTINGS
Nav Configuring BIND on windows 2003 server VPS | Apr 25, 2008
Nav Moneytrip’s scammer runs with your money | Apr 15, 2008
Nav Jax India 2008 | Mar 28, 2008
Nav Spanish Language Poll | Mar 15, 2008
Nav Adsense revenue | Mar 12, 2008
Nav nslookup query is not resolved | Feb 25, 2008
Nav Is It Possible To Get Best Results With Free Ads? | Feb 5, 2008
Nav How To Promote My Site Free? | Jan 17, 2008
FORUM SEARCH

FEATURED NEWS | POPULAR NEWS
Submit News | View More News View More News


Copyright © 2003-2008 WebsiteGear Inc. All rights reserved.
About | Advertise | Submit Content | Privacy | Agreement | Contact