Hello friends today I want to share a cool widget with you. This widget is already published on NetinfozBlog but my widget is fully cust...
Subscribe Now 3D Images Widget Fully Customized
Customize Labels Cloud in Blogger
Back in the year 2008 when Blogger.com was moving
through several update phases, third party developers would often take
the golden opportunity of creating widgets for BlogSpot blogs but as
soon as Google rolled out massive changes to their online services,
several official widgets popped out which load fast and perform well
because the scripts are served by Blogger servers. Page List and label
cloud/list enabled designers to create dynamic menus. Since the
stylesheet was made accessible. therefore we all got a chance to play
with these widgets and transform them completely in look and appearance.
We shared tutorials first time on how to create dynamic menus with page list and an automatic menu with label list
and today we would share a simple stylesheet that will transform the
labels cloud into organized small blocks that rotate on mouse over. I
must ensure you that the styles are perfectly compatible in all major
browsers including IE8+.
This is how labels look in cloud display:
This is how it will look after you apply the new style.
DEMO: Look at the label cloud on the sidebar of this blog
This is how it will look after you apply the new style.
How it works?
Each label link is nested inside a span tag followed by a class named label-size. If the font-size is not specified the widget changes font-size of each label according to its post-count. Therefore showing big and
small clouds. Introducing custom styles would over-ride the exiting styles thus changing the entire look.
Turn Random Cloud display into Blocks
The code below can be customized in several ways to create exciting label designs. You can also add background images to them.
Follow these easy steps:
- Go to Blogger > Settings> Layouts
- Click add a gadget and choose Labels
- Inside the settings make sure to choose the cloud display. You may set other options as per your requirement. See the screenshot below as example
Please choose to display at most 25 labels. Too much labels on homepage look awkward. Showcase your best categories only.
4. Now save the widget and go to settings > Template
5. Backup your template
6. Click Edit html > Proceed and search for this
]]></b:skin>
7. Just above it paste the following CSS code:
/*-----Custom Labels Cloud widget by http://helperbloggers.blogspot.com----*/
.label-size{
margin:0 2px 6px 0;
padding: 3px;
text-transform: uppercase;
border: solid 1px #C6C6C6;
border-radius: 3px;
float:left;
text-decoration:none;
font-size:10px;
color:#666;
}
.label-size:hover {
border:1px solid #6BB5FF;
text-decoration: none;
-moz-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
-webkit-transition: all 0.5s ease-out;
-ms-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
-moz-transform: rotate(7deg);
-o-transform: rotate(7deg);
-webkit-transform: rotate(7deg);
-ms-transform: rotate(7deg);
transform: rotate(7deg);
filter: progid:DXImageTransform.Microsoft.Matrix(
M11=0.9961946980917455, M12=-0.08715574274765817, M21=0.08715574274765817, M22=0.9961946980917455, sizingMethod='auto expand');
zoom: 1;
}
.label-size a {
text-transform: uppercase;
float:left;
text-decoration: none;
}
.label-size a:hover {
text-decoration: none;
}
8. Save your template
9. All done!
Visit your blogs and see the labels completely transformed to small neatly crafted rectangular boxes. If in case you want the label boxes to be of random sizes depending on the post-count then simply delete font-size:10px; from the above code.
Customize Labels Cloud in Blogger
Back in the year 2008 when Blogger.com was moving through several update phases, third party developers would often take the go...
Google Flag Translate Widget For Blogger/Blogspot
2 days ago while
watching my stats I got some results from translate.google.com. Someone
was reading my tutorials by translating in Chinese .That's why I added
this widget to my blog.Here I gave a widget form so that you can
directly add it on your blog.This widget contains flags of more than 32
languages. With hover title effect, When you hover your mouse on any
flag then it will shows a title of that language.Live demo On Our Blog.....
How To Add Google Flag Translator To Blogger ?
Now let's see how to add this awesome widget to blogger.
- Just press the Add To Blogger Button below and this will takes to you Add Widget section.
- Change title as you wish.
- Hit the Add Widget button.
- Drag and drop the widget as you wish
- Now save it and refresh your blog.....
Google Flag Translate Widget For Blogger/Blogspot
2 days ago while watching my stats I got some results from translate.google.com. Someone was reading my tutorials by translating in C...
Social Bookmarking Widget With Tooltips For Blogger
Social bookmarking widget is need of every blogger thats why you see such gadgets almost on every blog.Social bookmarking widgets helps you to boost traffic on your blog.Today I am sharing an amazing social bookmarking widget which comes with beautiful animated tooltips,when any user hovers on the social icons the tooltip comes out also it applies a opacity effect to these social icons,this effect increase beauty of this widget.Credit for this widget goes to Shareaholic.Now lets see hoe to add it to your blog,also see the demo at the bottom of this post.
How To Add This Widget To Blogger?
I have created a blogger widget generator form for this widget.Follow below simple steps to add this widget to your blog.
- You must login to your blogger account first.
- Click on below Add to Blogger button
- Now you will redirect to blogger add widget page
- Choose your blog and add click on Add Widget button
- Drag the widget at the bottom of your page layout
- Finally click on Save Arrangements button and you are done.
Social Bookmarking Widget With Tooltips For Blogger
Social bookmarking widget is need of every blogger thats why you see such gadgets almost on every blog.Social bookmarking widg...
Create Floating Bar For Pinterest & Other Sharing Buttons
This is one of the few social sharing widgets that took a lot of my time in designing it. You have seen the trend of floating sharing count buttons on popular blogs. The traditional icons are now replaced with auto incremented counter buttons that are updated in seconds. We created different versions of this bar applying both Jquery effects and CSS3 styles but this widget is different because it contains custom twitter, pinterest and an Email button. Services like Addthis and Sharethis are both doing a great job but they still need to work on some of their plugin integration conflicts. Pinterest pin it buttons are causing great trouble and it badly fails in fetching the correct thumbnail image. In most cases it does not even select a image thus making the entire pinning concept tasteless. We however redesigned the widget provided by shareThis to create a new one by correcting all flaws. This sharing bar would float to the left of your blog posts and would float as the visitor scrolls up or down. This widget contains counters of important social networking sites that has the potential to bring you traffic by circulating your content to a wider audience. We have tested the widget on major browsers like IE7+, Firefox, Chrome etc. and found it working just fine with no compatibility issues or design conflicts.
Did you check the previous version? Floating Sharing Counters
How it works?
We have integrated both Addthis and ShareThis service in it. In order to customize the twitter button and others we took the Sharethis default code and customize it to change the button image, bubble size and count text. The widget that we initially developed looks extremely attractive compared to this one. You can see the first designed draft version in the screenshot below:
You
can observe that both Twitter, Google Plus, Pinterest and Stumbleupon
are displayed with custom shapes, same sizes and different count colors.
I spent a lot of time trying to make all buttons of the same size by
using a common image linked by a sprite but the only problem with this
plugin is that the counts wont show the official numbers registered at
Twitter, Google and pinterest servers but they will show increments
registered at ShareThis.
If you add this sharing bar to your blog, you will see zero on all
counters unless someone clicks them and circulates your content.
To
correct this issue I had to unfortunately dropped the idea of sharing
the above designed version and share this tutorial widget instead.
However the widget on our blog still contains the twitter button which
wont display official count but that of ShareThis. If you would like to
replace it with the official big size twitter count box then you can
surely do this by customizing the code shared below.
Adding Floating Bar To Blogger
The steps are kept extremely easy to apply. All you need is to copy and paste the long chunk of code we developed and tested all day. Follow these friendly steps:
- Go to Blogger > Template
- Backup your template
- Click Edit HTML
- Click Proceed
- Then Click Expand Widget Templates
- Search for
<b:includable id="post" var="post">
<b:if cond='data:blog.pageType == "item"'>
<b:if cond='data:blog.pageType != "static_page"'>
<style>
.hb_social_floating{
position:fixed; bottom:10%; margin-left:-60px; float:left;
width:60px;
background-color:#f7f7f7;
padding: 5px 0 0px 0px;
border-top:1px solid #ddd;
border-left:1px solid #ddd;
border-bottom:1px solid #ddd;
z-index:9999px !important;
border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;
}
.hb_social_floating .mbt_side_social_button{
margin-bottom:5px;
float:none;
height:auto;
width:60px;
}
.hb_social_floating .st_twitter_vcount, .mbt_social_floating.st_plusone_vcount, .st_email{
margin-left:5px;
}
.hb_social_floating .st_fblike_vcount{
margin-left:5px;
}
.hb_social_floating .stButton_gradient{
background:none !important;
height:21px !important;
padding-left:0 !important;
}
.hb_social_floating .chicklets, .mbt_social_floating .stMainServices {
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjHM3R5Vw7WXRgqD2LMM4B4-VUWy6PbZl4IaSzDNyoffrSTTMTuZKSU3FZM6PcRRvaVqtU45xzHReat7xvQpInKT4ISvbttosNCErwIjSl4nGb4HeBHyzJBnTScjRKb4SKi6J5EZfeu2GB/s400/gc_social_sprite.gif') no-repeat !important;
height:19px !important;
width:45px !important;
padding:0 !important;
}
.st_email .chicklets{
background-position:0 -77px !important;
background-image:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjHM3R5Vw7WXRgqD2LMM4B4-VUWy6PbZl4IaSzDNyoffrSTTMTuZKSU3FZM6PcRRvaVqtU45xzHReat7xvQpInKT4ISvbttosNCErwIjSl4nGb4HeBHyzJBnTScjRKb4SKi6J5EZfeu2GB/s400/gc_social_sprite.gif') !important;
}
.hb_social_floating .st_twitter_vcount .st-twitter-counter{
background-position:0 -58px !important;
}
.hb_social_floating .stButton_gradient{
border:none !important;
}
.hb_social_floating .stBubble_count{
width:44px !important;
font-size: 15px !important;
font-weight: normal !important;
padding-top:7px !important;
height:23px !important;
background:none !important;
}
.hb_social_floating .st_twitter_vcount .stBubble_count{
color:#00a6df;
background-color:#f8fbfc !important;
}
.st_fblike_vcount{
margin-bottom: 0px;
display: block;
}
.st_twitter_vcount{
margin-bottom: 3px;
display: block;
}
.st_email{
margin-bottom: 5px; margin-top: 3px;
display: block;
}
.hb_social_floating .stBubble{
background-position: 21px 31px !important;
height:35px !important;
}
</style>
<div class='hb_social_floating'>
<script type='text/javascript'>var switchTo5x=true;</script>
<script src='http://w.sharethis.com/button/buttons.js' type='text/javascript'/>
<script type='text/javascript'>stLight.options({onhover:false});</script>
<span class='st_fblike_vcount' displaytext=''/>
<span class='st_twitter_vcount' displaytext='' st_via='helperbloggers'/>
<div style='margin:5px 0 0px 0;'>
<center>
<a class='pin-it-button' count-layout='vertical' expr:href='"http://pinterest.com/pin/create/button/?url=" + data:post.url'>Pin It</a>
<a href='javascript:void(run_pinmarklet())' style='margin-left:-46px; width:43px; height:20px; display:inline-block;'/>
<script src='http://assets.pinterest.com/js/pinit.js' type='text/javascript'/>
<script type='text/javascript'>
function run_pinmarklet() {
var e=document.createElement('script');
e.setAttribute('type','text/javascript');
e.setAttribute('charset','UTF-8');
e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r=' + Math.random()*99999999);
document.body.appendChild(e);
}
</script> </center>
</div>
<div style='margin:0px 0 0 5px;'>
<span class='st_plusone_vcount' displaytext=''/>
</div>
<div class='addthis_toolbox addthis_default_style ' style='margin:5px 0px 5px 8px;'>
<a class='addthis_counter'/>
</div>
<script src='http://s7.addthis.com/js/250/addthis_widget.js' type='text/javascript'/>
<script type='text/javascript'>
var addthis_config = {
ui_cobrand: "Helper Bloggers",
ui_header_color: "#ffffff",
ui_header_background: "#0080FF"
}
</script>
<span class='st_email' displaytext=''/>
<p style=' line-height:0px; font-size:10px; font-weight:bold; text-align:center;'><a href='http://helperbloggers.blogspot.com/2012/08/create-floating-bar-for-pinterest-other.html' style='color:#CAC8C8;'>Get This</a></p>
</div>
</b:if></b:if>
Just replace helperbloggers with your twitter username.
8. Save your template and you are all done!
Create Floating Bar For Pinterest & Other Sharing Buttons
This is one of the few social sharing widgets that took a lot of my time in designing it. You have seen the trend of floating sha...
Add Facebook Recommendations Bar To Blogger
Finally the plugin I had been waiting for since 22nd
September 2011. In order to engage readers more and let your visitors
spend more time on your website Facebook has finally launched the "Recommendations Bar"
in beta version. It's designed to display additional recommended
articles right after readers have finished reading an article or spent
some time on your blog. It will collapse on page load and expand once a
reader has reached a specific location on your blog or finished reading
the post. Only those articles are displayed that are previously liked or
shared on Facebook. The number of likes are displayed under each
article along with page title and a thumbnail. It also contains a like button and previously contained an Add to Timeline button that has been removed now. Unlike Facebook Recommendations box
which offered related stories but with lack of user friendly interface
and engagement, Facebook bar will force readers to stay longer on your
site leading to increased pageviews, page impressions and thus traffic. It's a smart alternative to Recommended Post Slides widgets that we previously published.
If you are a Wordpress user you may follow this tutorial:
See the demo live on our blog towards the bottom-right corner. Don't forget to press the like button to let your friends know that you visited this page :)
If you are a Wordpress user you may follow this tutorial:
See the demo live on our blog towards the bottom-right corner. Don't forget to press the like button to let your friends know that you visited this page :)
Install it on Blogger
It can be installed easily on both BlogSpot blogs and Wordpress but with a little patience. We have kept the installation extremely easy and ignored unnecessary steps like installation of Open Graph Meta Tags. We would install necessary codes to keep the structure clean and make the widget work just fine. The code we are sharing is optimized and will display your blog titles and featured images correctly and with a lot of control attributes.
Follow these easy steps:
Step1: Create a Facebook Application
For this plugin to work you will need to create a Facebook App in seconds. The below method is the standard and correct method for creating any FB App you like.
Log into Facebook Apps
Click on Create New App button towards Top-rightcreate new app
In the box that pops up, type "My Recommendation Bar" inside the App name field and leave other options as default. Click continue.Step1: Create a Facebook Application
For this plugin to work you will need to create a Facebook App in seconds. The below method is the standard and correct method for creating any FB App you like.
- Log into Facebook Apps
- Click on Create New App button towards Top-right
- In the box that pops up, type "My Recommendation Bar" inside the App name field and leave other options as default. Click continue.
4. Enter the captcha security code. Click Submit
5. You are app is almost complete. Just click Website with Facebook Login tab and inside the box input your blog URL. See the screenshot below. Do not touch remaining options and click Save Changes.
Congrats App finally created! Lets proceed to step2.
Step2: Add "Recommendations Bar" To Your Blog
Follow these steps to add the bar to Blogger:
- Go to Blogger > Template
- Backup your template
- Click Edit HTML > Proceed
- Search For this :
<html
Replace it with this code:
<html xmlns:fb='http://ogp.me/ns/fb#'
This will make the plugin compatible in older versions of internet explorer also. Since blogger templates are coded in XML therefore inserting this XML namespace will enhance the plugin performance and compatibility.
5. Next search for <body> and just below this tag paste the following code:
Note: If you are using the new blogger templates like Simple, Awesome Inc., Travel, Watermark or Picture window then please search for <body instead. Make sure to paste the code below the entire body tag.
<div id='fb-root'/>
<script>
//Facebook Recommendation bar by http://helperbloggers.blogspot.com
//<![CDATA[
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=Your App Id Here";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
//]]>
</script>
<b:if cond='data:blog.pageType == "item"'><b:if cond='data:blog.pageType != "static_page"'><div style='z-index:999999; position:absolute;'>
<fb:recommendations-bar action='like' max_age='0' num_recommendations='3' read_time='10' side='right' site='Your Blog Url Here' trigger='40%'/></div>
</b:if></b:if>
You are almost done. Make these changes:
- Replace Your App Id Here with your 15 digit App Id that you saved in step1.
- Replace Your Blog Url Here with your blog link
Visit your blog and scroll down about 50% of your page and wait for 10 seconds for the plugin to expand. Enjoy the new way of free pageviews juice! :)
Optional Steps
Below are optional customization and control options. You can skip them if you want
- max_age: will decide the age limit of articles. Sometimes you don't want to display too old articles so you can set it to display up to 1-180 days old posts. But if you don't want to take age into account then let it be 0 as default.
- num_recommendations: You can set how many articles to display. By increasing or decreasing the value 3
- read_time: As soon as the user reaches a specified location, the plugin would expand and before expanding it will take some time. I have kept it equal to 10 seconds, you can increase it to 30 or more as you wish.
- side: You can decide the location of plugin. By default it shows up towards the bottom right corner of your page. You set it to float to left
- trigger: On page load the plugin collapses and as soon as it reaches a specified location it expands. You can choose that location in three ways i.e. onvisible, X% or manual. I prefer locating the trigger point by percentage for better pageviews. The widget will expand as soon as the user scroll downs 40% of your page. You can increase or decrease this value. If you wish that the plugin must expand as soon as the reader reaches the end of your article then instead of pasting the code between the purple lines paste it just below data:post.body tag and use the value onvisible instead of 40%.
- The widget will display only on post pages and not on homepage or static pages. To display it on all pages, then simply delete the purple bolded lines.
<meta content='article' property='og:type'/>
<meta expr:content='data:blog.postImageThumbnailUrl' property='og:image'/>
<meta expr:content='data:blog.title' property='og:site_name'/>
<meta expr:content='data:blog.pageName' property='og:title'/>
<b:if cond='data:blog.metaDescription != ""'>
<meta expr:content='data:blog.metaDescription' name='description'/>
</b:if>
Save your template and now see the plugin if it correctly shows page titles both on your blog and Facebook.
Add Facebook Recommendations Bar To Blogger
Finally the plugin I had been waiting for since 22nd September 2011. In order to engage readers more and let your visitors ...
Subscribe to:
Posts (Atom)