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.CUSTOMIZATION.
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/AVvXsEhLfxQpVEfRstx_2UQ-IlRRNR7Fyk4FModS5rNIeNlN-2veRlb0uLnOpBJ2kCAorH1_ZNPYt48jgB48mAz7QguwAZgYYIwc0aw7VuLp5QAiY6hBs8O7Wrcu5FDEQ8xKGkoUbyjR0qau1Qo/" alt="Text to be displayed if browser's image is turned off"/>
THAT'S ALL.
Tidak ada komentar:
Posting Komentar