My Business Directory  - Free 'bookmark site' code
Satistics
  • Active Links: 170
  • Pending Links: 1
  • Todays Links: 2
  • Total Articles: 10
  • Total Categories: 16
  • Sub Categories: 725
SPONSORS

"Add to Favourites" script code

This script allows your visitors to easily bookmark your site by clicking on a link on the page. Works best with IE4+, Firefox 1.x+ and others.

 

Step 1. Copy the below code and paste it to your webpage between <head>  and  </head>

 

<script type="text/javascript">

/***********************************************
* Bookmark site script
* Provided by Website Toolbox Pro http://www.websitetoolboxpro.com
* and http://www.my-business-directory.com
* © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

function bookmarksite(title,url){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',title);
elem.setAttribute('rel','sidebar');
elem.click();
}
else if(document.all)// ie
window.external.AddFavorite(url, title);
}
</script>

 

Step 2. Create either an image or text link that will be used as the Bookmark Site link. Place this on your webpage where needed.

eg.

copy and paste this code....

<a href="javascript:bookmarksite(document.title, window.location.href)">Bookmark this site!</a>

Which will look like this, on your site...  Bookmark this site!

ARTICLES
Common Search Engine Positioning Mistakes
Here's a list of the most common mistakes that people are making, when it comes to search engine optimization.
Adverts
my-business-directory
Random Quote
Confusious says...
Man who run behind car get exhausted.