́Bookmarking widget̀ in my perspective,is one of the ways you can retain your blog's visitors.
Some people tend to forget/ignore bookmarking a site even if they like the post.
Having the widget installed in your blog can help prevent that.
/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library.
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/for full source code
* Shared by SOLJAR2 @ http://freebie-planet.blogspot.com/
***********************************************/
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>
<a href="javascript:bookmarksite('YOUR BLOG/SITE NAME', 'YOUR BLOG URL')">BOOKMARK THIS SITE!</a>
Now scroll down till you see "HTML/JAVASCRIPT" and select ADD.
Just copy/paste the code above and select SAVE.
Some people tend to forget/ignore bookmarking a site even if they like the post.
Bookmark script.
<script type="text/javascript">/***********************************************
* Bookmark site script- © Dynamic Drive DHTML code library.
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/for full source code
* Shared by SOLJAR2 @ http://freebie-planet.blogspot.com/
***********************************************/
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>
<a href="javascript:bookmarksite('YOUR BLOG/SITE NAME', 'YOUR BLOG URL')">BOOKMARK THIS SITE!</a>
HOW TO USE THIS WIDGET
Login to your Blogger acc.,then go to Design >> Page element and select 'Add a gadget'.Now scroll down till you see "HTML/JAVASCRIPT" and select ADD.
Just copy/paste the code above and select SAVE.
CUSTOMIZE YOUR WIDGET.
Change the texts in red above accordingly i.eYOUR BLOG/SITE NAME and YOUR BLOG URL.To make the bookmark button appear as an image instead of a text,replace BOOKMARK THIS SITE! in the code above with»
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtPbCSwfIgzZjVR2YpdkJnXUlkCNQj7qWMsaY8EtapjyFXd6ThqEcQpDdvoy3j-_bfkbyT9alHktm4jmRh-kLBQJZXvkBe1hO2caKbcJ6qnnaieaNqbC1-_Q9vqB5Ucd5Fy3KWCjv6LLo/" alt="Text to be displayed if browser's image is turned off
0 comments:
Post a Comment