A Responsive Blogger Website, That Take my blog to the next level.

I am a Software Developer, Learning and experementing with .Net Technology and try to put my Learning altogether here.


We have all sections related to .Net Technology, like .Net-C#, Asp.Net, MVC, jQuery, AngularJs, Sharepoint. Find out more...


Following are the some of the Advantages of using this Web site :-

  • Get Update about latest in .Net world.
  • Collection of Useful, Frequently used .Net Solutions.
  • It’s beautiful on every screen size (try resizing your browser!)
by

Floating Horizontal Social Media Share Buttons For Blogger | Widget.

Floating Horizontal Social Media Share Buttons For Blogger | Widget.

Horizontal Share Bar

You can position horizontal share buttons in a "floating bar" that is commonly docked to the bottom of the user's screen, particularly on mobile devices.
The following example displays a horizontal share bar that is docked to the bottom of the user's screen on the right side. The current page uses this style.
<div class="a2a_kit a2a_kit_size_32 a2a_floating_style a2a_default_style" style="bottom:0px; right:0px;">      <a class="a2a_button_facebook"></a>      <a class="a2a_button_twitter"></a>      <a class="a2a_button_google_plus"></a>      <a class="a2a_button_pinterest"></a>      <a class="a2a_dd" href="https://www.addtoany.com/share"></a>  </div>    <script type="text/javascript" src="//static.addtoany.com/menu/page.js"></script>  
The following example displays a center-aligned horizontal share bar that is docked to the bottom of the user's screen. Center alignment is done by specifying a left position value of 50% and a negative margin-left value that is equal to the total width of the icons. The width of these default icons can be calculated by multiplying the number of icons by 40. For example, 5 icons (multiplied by 40) gives a margin-left value of -100px.
<div class="a2a_kit a2a_kit_size_32 a2a_floating_style a2a_default_style" style="bottom:0px; left:50%; margin-left:-100px;">      <a class="a2a_button_facebook"></a>      <a class="a2a_button_twitter"></a>      <a class="a2a_button_google_plus"></a>      <a class="a2a_button_pinterest"></a>      <a class="a2a_dd" href="https://www.addtoany.com/share"></a>  </div>    <script type="text/javascript" src="//static.addtoany.com/menu/page.js"></script>  

Responsive Floating Share Buttons

Using CSS media queries, you can specify mobile/desktop breakpoints for responsive floating share buttons. For example, it is common to hide a "docked" vertical share bar on the smaller screens of mobile and tablet devices.
<style type="text/css">  /* Hide AddToAny vertical share bar when screen is less than 980 pixels wide */  @media screen and (max-width: 980px) {      .a2a_floating_style.a2a_vertical_style { display: none; }  }  </style>

After you've selected your choice. Just follow the steps below to apply this widget to your blog.

1. Go to Blogger
2. Click the Blog, you want to add the widget to.
3. From the dashboard, click Layout.
From the Pop window click Add a Gadget, a new window will pop up, from the pop up window click - HTML/Javascript.
4. Paste your code into the new pop up window Content Space and click save.

Then, you have your choice Floating Share button on your blog.




0 comments :