Saturday, 1 June 2013

Floating Social Media Slide out Widget

Floating social media slide out stick to right site of your blogger template. When you mouse over then you will see a slide out option. This widget has created completely with CSS and when you scroll down then the widget will also scroll down up to edge of your footer bar. Due to mass use of JavaScript a widget become heavy to load so now bloggers are grooming the coding and tend to use CSS. For this reason I have used CSS instead of Java Script which will helps to load the widget fast as well as use moz transition effect which help to add ease in out effect on this widget and also added tool tip features on it. Hope this widget will help your visitors to increase connectivity with your social media sites.



Step 1 Log in to your Blogger account and Go to your Blogger Dashboard

Step 2 Go to your Layout tab.

Step 3 Click on "Add a Gadget" then select "HTML/JavaScriptGadget.

Step 4 Now Copy the below code and Paste it in "HTML/JavaScript" Gadget.


<style type='text/css'>
.bloggerspiceFSS a, .slider-tooltip p{-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}
.slideshow-chunk>div{-webkit-transition:all .8s ease-in-out;-moz-transition:all .8s ease-in-out;transition:all .8s ease-in-out}
.bloggerspiceFSS{height:150px;left:50%;position:fixed;top:200px;width:18px;z-index:5;margin-left:495px}
.bloggerspiceFSS a{display:block;margin-left:133px;width:19px;height:20px;position:absolute;top:0;right:0;color:#fff!important;text-decoration:none;text-transform:uppercase;font-size:10px;font-weight:700;line-height:20px;background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-hS_xP5VZmCkPJOeCJSPfbJHD-XgTwKliRDNrH2pO_sPqdMe8R1WMf8W1_GTPKGt7xCrqlEIzlEdhJl06OXlc9TjoNFsHJ-Xf-69vphGn3CziDAUXXZNcNr1EAq8k22NZYcLRRgzjrQRi/s320/BS+FSS.png) no-repeat;overflow:hidden}
.bloggerspiceFSS a span{min-width: 152px;padding: 2px;display:block;visibility:hidden;min-width:152px}
.bloggerspiceFSS a:hover{min-width:133px;padding-left:25px;-webkit-transition:all .1s ease-in-out;-moz-transition:all .1s ease-in-out;-o-transition:all .1s ease-in-out;transition:all .1s ease-in-out}
.bloggerspiceFSS a:hover span{visibility:visible;position:absolute;top:0;left:25px}
.bloggerspiceFSS a.BSfacebook{background-position:3px -15px;top:20px;background-color:#526ca5}
.bloggerspiceFSS a.BStwitter{background-position:3px -36px;top:40px;background-color:#75ddfe}
.bloggerspiceFSS a.BSrss{background-position:3px -55px;top:60px;background-color:#f6a858}
.bloggerspiceFSS a.BSmail{background-position:3px -75px;top:80px;background-color:#c1c1c2}
.bloggerspiceFSS a.BSfacebook:hover{background-color:#526ca5;background-position:5px -15px}
.bloggerspiceFSS a.BStwitter:hover{background-color:#75ddfe;background-position:5px -36px}
.bloggerspiceFSS a.BSmail:hover{background-color:#c1c1c2;background-position:5px -75px}
.bloggerspiceFSS a.BSrss:hover{background-color:#f6a858;background-position:5px -55px}
.bloggerspiceFSS a.BSfacebook:active{background-color:#294a90}
.bloggerspiceFSS a.BStwitter:active{background-color:#40b5fe}
.bloggerspiceFSS a.BSmail:active{background-color:#909090}.bloggerspiceFSS a.BSrss:active{background-color:#f37526}                                                                                                                                  /*widget by www.bloggerspice.com */
</style>
<div class='bloggerspiceFSS'> <a class='BSfacebook' href='https://www.facebook.com/KBTricks' onclick='dcsSetVar(&apos;WT.z_iLinks&apos;,&apos;Facebook&apos;,&apos;WT.z_iLinks_actionoffer&apos;,&apos;exnav-soc&apos;,&apos;WT.z_iLinks_targetcampaign&apos;,&apos;src-gs&apos;);' target='_blank' title='Facebook'><span>Join Us on Facebook</span></a> <a class='BStwitter' href='https://twitter.com/kbtricks' onclick='dcsSetVar(&apos;WT.z_iLinks&apos;,&apos;Twitter&apos;,&apos;WT.z_iLinks_actionoffer&apos;,&apos;exnav-soc&apos;,&apos;WT.z_iLinks_targetcampaign&apos;,&apos;src-gs&apos;);' target='_blank' title='Twitter'><span>Tweet Us On Twitter</span></a> <a class='BSrss' href='/feeds/posts/default' onclick='dcsSetVar(&apos;WT.z_iLinks&apos;,&apos;RSS&apos;,&apos;WT.z_iLinks_actionoffer&apos;,&apos;invite-follow&apos;,&apos;WT.z_iLinks_targetcampaign&apos;,&apos;src-gs&apos;);' target='_blank' title='RSS Feed'><span>Visit Our rss feed</span></a> <a class='BSmail' href='mailto:boparae97@gmail.com' onclick='dcsSetVar(&apos;WT.z_iLinks&apos;,&apos;Email&apos;,&apos;WT.z_iLinks_actionoffer&apos;,&apos;invite-email&apos;,&apos;WT.z_iLinks_targetcampaign&apos;,&apos;src-gs&apos;);' target='_blank' title='Email'><span>Newsletter</span></a></div>


Customization 


  • Replace KBTricks with your Facebook and Twitter User name or ID
  • Replace boparae97@gmail.com with your email address.

No comments:

Post a Comment