x

Subscribe to GwArez !



Pages

Whatever you need!!! We bring it!!!

Wednesday, June 08, 2011

How to Create a bookmark for your Site

Script you can place on your site to allow your visitors to automatically bookmark your page with a single click is given below :
 

Place this part in the HEAD section of your page (Dont Edit this part of the script)

<script language="javascript" type="text/javascript">
function bookmarkme(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}
</script>

Place this part where you want the bookmark link to display (Edit the URL and title part)
Note : Use Javascript gadget

<a href="javascript:bookmarkme('GwArez', 'http://www.gwarez.blogspot.com')">Bookmark This Page</a>

There are input parameters for Title and URL, which you can alter in the display code (the link).

No comments:

Post a Comment