Friday 23 November 2012

Awesome Slide Open Egg Social Bookmarking Gadget For Blogger

HOW TO ADD SLIDE OPEN EGG BOOKMARKING GADGET TO BLOGGER

  • To add this gadget :
  • Go to Blogger Dashboard > Design > Edit HTML.
  • Search for </head> tag.
  • Add below code just before </head> tag.
  • Save your template.



<script type="text/javascript" src="http://w.sharethis.com/gallery/shareegg/shareegg.js"></script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.optionsundefined{publisher: "ur-8763731d-23ab-10e6-76cd-b53d73f2db8a", onhover:false}); </script>
<link media="screen" type="text/css" rel="stylesheet" href="http://w.sharethis.com/gallery/shareegg/shareegg.css"></link>
  • Now go to Page layout.
  • Choose add a gadget > HTML/JavaScript.
  • Paste below code and save it.



<div id='shareThisShareHeart' class='shareEgg'></div>
<script type='text/javascript'>stlib.shareEgg.createEggundefined'shareThisShareHeart', ['facebook','twitter','pinterest','linkedin','email','sharethis'], {title:'Happy Valentines Day!',url:'http://www.sharethis.com',theme:'shareheart'});</script>
Now go to your blog,you will see this gadget.

1 comment:

  1. There is a flaw in this code, the gadget will be shown but the title and URL of page is set to sharethis so the person who clicks on any bookmarking button will bookmark or share only sharethis website, not the page of blog. To avoid this flaw, use {title:' ',url:' in the code instead of {title:'Happy Valentines Day!',url:'http://www.sharethis.com in the second code.

    ReplyDelete