Social Bookmarking Buttons With Spinning Effect for Blogger

Till now many social bookmarking widgets has been released for Blogger. Simply, social bookmarking buttons and icons helps you to make your blog socialize and get more traffic. Adding social bookmarking buttons is cool way to get more readers and targeted audience.


Before using social bookmarking option, you must be aware of icons design how much clickable is it. Your readers are likely to click social bookmarking button containing in your blog if they find the buttons really cool. If you haven't such buttons, so here is something special for you.

Social bookmarking buttons with spinning hover effect. Buttons are cool itself and when your reader hover the mouse over it, it spins a round.


Here is how to add these cool buttons to your Blogger blog:

Login to Blogger > Design > Edit HTML > Expand widget templates. Find the following code in your template:

<data:post.body/>

Just below that add the following group of codes:

<b:if cond='data:blog.pageType == "item"'>
<div class='spinning_icons'>
<a class='twitter' expr:data-text='data:post.title' expr:data-url='data:post.url' href='http://twitter.com/share' rel='nofollow' target='_blank' title='Twitter'>Twitter</a>
<a class='delicious' expr:href='&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Delicious'>Delicious</a>
<a class='digg' expr:href='&quot;http://digg.com/submit?phase=2&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Digg'>Digg</a>
<a class='facebook' expr:href='&quot;http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Facebook'>Facebook</a>
<a class='stumbleupon' expr:href='&quot;http://www.stumbleupon.com/refer.php?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Stumbleupon'>Stumbleupon</a>
<a class='rss' href='http://feeds.feedburner.com/MoreForBlogger' target='_blank' title='RSS'>RSS</a>
</div>
</b:if>


Replace Moreforblogger with your feedburner username. Again, find the following code:

]]></b:skin>

Just above that code, past the following:


.spinning_icons a{
    width:48px;
    height:48px;
    display:inline-block;
    text-indent:-9999em;
    background-position:0 0;
    background-repeat:no-repeat;
    z-index:2000;
    overflow:hidden;
}
.twitter{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwPo70sqSRQ8cCtCSayvHD-2Dg-G28Jhp6GznBTBvIBOSKbVERBa1y4C5UPzrHzhK2yITVnWvrYqDpBMx6g4KUR9H99cSyuQdFeIs4hzI9OkeP-0gBCqWj_Eb_5wkOotCtNDYU2GIya2U/s1600/twitter_32.png'); }
.delicious{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_ndLavixEZlCu9KEIgpyzJmuqbU1IBP_99jfRMcIF5fUNSTCzA1_3JRaD6YlmnhCnn9eLZ-tX9nGf_PomJre1fVlRxK1Ckq_04I6fsx9rlpJcCrM-dRyzxZWPYzLecysjcbjLks136xE/s1600/delicious_32.png'); }
.digg{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnlfbnh4x-jQRwm23yKw1Hy-1Ev_0ePaN-ikSfPIirC3A3A10uqz7_-XDfh8StlcOSMXweWXFMA6k58BqEfDubOEvBLs2spBvBTg3tECXf8d3P1qcg6jkheiGLiwWogNvqah0kxcsQBNk/s1600/digg_32.png'); }
.facebook{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiY9D-xjRybwZa8oA1Dc18OsOH1yOxZil3WAVQzpXX_BbLvXJ54PJzzGK4CKSz4NijrBegl9bYQ9mFBsFXW7bXG1ChAR0DFFt5B6p-aSlv4IX7KRPRDXFxFNED-hTZioj45d2XfS3nxk2E/s1600/facebook_32.png'); }
.rss{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6Ydtci-WpoDsxLtUZ8RVvRzsw2dZZOszBhzoUl7oCg1dU996WZ6FmYLlvwak1H7muSyyLnNbWtRhQ91wMZBLQ4G0zeUZs_NTice0OTQonCGCGGdEH5e7HQ_H4qI_9nTSj6oMy97R25w8/s1600/rss_32.png'); }
.stumbleupon{ background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJhhfa4fWoovtV8SMTSJS4rD-WjKGOdxToLtmJccCzmgTuEKL2P9Bknv573mWSPy3_z9Gy5zn5c637tcWumqC_btabZXteJYtKMsLRfbU51v9q32AzUeOoZ_Pa_860T7brceJF-xJ_D_8/s1600/stumbleupon_32.png'); }
.spinning_icons a:hover{
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
    transition: transform 0.2s ease-out;
    -webkit-transition: -webkit-transform 0.2s ease-out;
        -moz-transition: -moz-transform 0.2s ease-out;
}

Now save the template and your are done! Have a look at your cool new bookmarking button that appears at the bottom of your post.
And if you liked this post, please consider sharing it. Thanks!

 Source:Internet

Template Design, Tricks, widgets

0 comments:

 

© 2011 MoreForBlogger - Designed by Mukund | ToS | Privacy Policy | Sitemap

About Us | Contact Us | Write For Us