Monday, August 8, 2011
Add Fancy "Share This" Social Bookmarking Widget to blogger
2:16 AM
Khyati
No comments
Here’s a cool new social bookmarking widget for your blog, with on-hover animation effect. By adding social networking icons to your blog you will definitely boost your blog’s traffic.
To see live demo : Demo 1
Step 1: Firstly, Log in to Blogger. Now go to “Design” and then click on “Edit HTML” tab.Then download the present template as a backup.
Then Click on “Expand Widget Templates” checkbox. ____________________________________________
STEP 2: Now find [CTRL+F] this code:
]]></b:skin>
___________________________________________JUST ABOVE/BEFORE THIS CODE, paste the following code:
/* Fancy SocialBookmark*/ #sharebox{ height:48px; width:400px; margin:0; padding:5px 0; } ul.sharebox { margin:0px; padding:0px; list-style:none; position:relative; display:block;} ul.sharebox li { float:left; margin:0 0 0 0px; padding:0px; position:absolute;} ul.sharebox li a { margin:0 0 0 -24px; display:block;} ul.sharebox li a:hover { margin:0 0 0 -8px; } ul.sharebox li img { border:none;}_____________________________________________________
Step 3: Now find (CTRL+F) this in the template;
</head>
______________________________________________________
And immediately ABOVE/BEFORE that paste this code
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type='text/javascript'/> <script type='text/javascript'> (function($){ $.fn.sharebox = function(){ var element = this; $(element).find("li").each(function(i){ $(this).css("z-index", 12- i); if (i>0) $(this).css("left", i * 24 + 100); }); } })(jQuery); </script> <script type='text/javascript'> $(document).ready(function(){ $("#sharebox").sharebox(); }); </script>
__________________________________________________________
Step 4: Now find (CTRL+F) this in the template
<data:post.body/>
___________________________________________________________
And BELOW/AFTER that, paste this code:
<ul class='sharebox' id='sharebox'> <li><img alt='Share this' src='http://lh3.ggpht.com/_gQTW6AzEt50/TAN-IItrhcI/AAAAAAAAAKg/6Ofb7QQmW5E/s400/sharethis.png'/></li> <li><a expr:href='" http://digg.com/submit?url=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Sumbit to Digg' src='http://lh5.ggpht.com/_gQTW6AzEt50/TANwPDNFTqI/AAAAAAAAAJA/_iTBPexiQUc/s400/digg_48.png'/></a></li> <li><a expr:href='" http://www.stumbleupon.com/submit?url=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Sumbit to StumbleUpon' src='http://lh5.ggpht.com/_gQTW6AzEt50/TANwXH99KHI/AAAAAAAAAJY/1MhNYohLgKw/s400/sumbleupon_48.png'/></a></li> <li><a expr:href='"http://del.icio.us/post?url=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Sumbit to Delicious' src='http://lh3.ggpht.com/_gQTW6AzEt50/TANwLsiJKaI/AAAAAAAAAI4/W-8Giiq1jdo/s400/delicious_48.png'/></a></li> <li><a expr:href='" http://technorati.com/faves?add=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Sumbit to Technorati' src='http://lh3.ggpht.com/_gQTW6AzEt50/TANwaKO3III/AAAAAAAAAJg/1GGHLlMnMVI/s400/technorati_48.png'/></a></li> <li><a expr:href='" http://www.reddit.com/submit?url=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Sumbit to Reddit' src='http://lh3.ggpht.com/_gQTW6AzEt50/TANwUrLlzcI/AAAAAAAAAJQ/4IumvWuAy3k/s400/reddit_48.png'/></a></li> <li><a expr:href='" http://www.mixx.com/submit?page_url=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Sumbit to Mixx' src='http://lh5.ggpht.com/_gQTW6AzEt50/TANwRvsfp4I/AAAAAAAAAJI/GnhXzIG0Yus/s400/mixx_48.png'/></a></li> <li><a expr:href='"http://twitter.com/home/?status=Chk Out-" + data:post.title + " " + data:post.url' target='_blank'><img alt='Sumbit to Twitter' src='http://lh4.ggpht.com/_gQTW6AzEt50/TAN0zpbiOBI/AAAAAAAAAKQ/ZrUXz3uWKIU/s400/twitter_boxed_48.png'/></a></li> <li><a expr:href='" http://www.furl.net/storeIt.jsp?u=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Sumbit to Furl' src='http://lh5.ggpht.com/_gQTW6AzEt50/TAN0r1U2u1I/AAAAAAAAAJ4/sROtJssSojA/s400/furl_48.png'/></a></li> <li><a expr:href='"http://www.designfloat.com/submit.php?url=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Sumbit to Design Float' src='http://lh4.ggpht.com/_gQTW6AzEt50/TAN0owol6GI/AAAAAAAAAJw/BkW7TAqnDcQ/s400/designfloat_48.png'/></a></li> <li><a expr:href='"http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Sumbit to Blinklist' src='http://lh3.ggpht.com/_gQTW6AzEt50/TAN0mEMPlOI/AAAAAAAAAJo/-8XBeBFn-B0/s400/blinklist_48.png'/></a></li> <li><a expr:href='"http://buzz.yahoo.com/article/" + data:post.url' target='_blank'><img alt='Sumbit to Yahoo Buzz' src='http://lh5.ggpht.com/_gQTW6AzEt50/TAN02Tt0lCI/AAAAAAAAAKY/DJQhWo-EVQI/s400/yahoo_48.png'/></a></li> <li><a expr:href='"http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=" + data:post.url + "&title=" + data:post.title' target='_blank'><img alt='Sumbit to Google Bookmarks' src='http://lh6.ggpht.com/_gQTW6AzEt50/TAN0uapFtxI/AAAAAAAAAKA/XSceCbQg5gU/s400/google_48.png'/></a></li> </ul>
______________________________________________
Step 5: Now save the template.
Courtesy: themeblogger-noi
Posted in: How-Tos
0 Comments:
Post a Comment