Showing posts with label Widget. Show all posts
Showing posts with label Widget. Show all posts

Awesome Social Media sharing widget for Blogger

;

We have seen different social media widgets in most of the blogs. A blog without social media is an incomplete blog. For making a blog complete and more advanced, social media is highly required. So, in this post, we will be discussing on adding social media widget for blogger. In this post, we will be discussing on Adding OS X Styled Sharing Widget For blogger. Have you ever used MAC OS X. If you have used, you may find a Desk Like Thing where all apps are placed and when we hover on it, it starts to move. The Widget is same like that.
For Live Demo, you can click below Link:
LIVE DEMO
Or you can watch the picture on the right side.
Now Let's Add This. Follow My Steps To Add This:

  • Go To Blogger Dashboard
  • Click On Layout
  • Click On Add A Gadget
  • Select HTML/JAVASCRIPT
  • Copy and paste the given codes there
<!-- bloggercruzer.blogspot.com !-->
<style type="text/css">
  #sharedock { position: fixed; bottom: 0; left: 0; width: 100%; height: 90px; z-index: 999; }
  #dock { position: relative; bottom: 0; font: 13px "Trebuchet MS", Verdana, Helvetica, sans-serif; }
  .dock-container { position: relative; background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSuXXngVBWcosYMVcczxm58VVmkYGIctOT7utyI4QIgqwyWVjBlUxNEt64zlDGnueQlVwISX7pq_enAu5Q6DpeeyWxY8lvTA8kQX1KPsU0uUrzAJkq7ezc_fNGoiMAdHQ4O4SkaxtLwDn-/s1600/bloggertrix1.gif) no-repeat bottom center; height: 50px; padding: 20px 0 20px 0; }
  .dock-container .custom_images a { display: block;  position: absolute; bottom: 0; text-align: center; text-decoration: none; color: #333; cursor: pointer; }
  .dock-container .custom_images span { background: rgba(0,0,0,.75); display: none; padding: 2px 8px; margin-left: 17px; font-size: 11px; color: #fff; -moz-border-radius: 10px; -webkit-border-radius: 10px; }
  .dock-container .custom_images img { border: 0; margin: 5px 0px 10px 0px; width: 100%; }
  </style>

<div id="sharedock">
  <div id="dock">
  <div class="dock-container">

<div class="addthis_toolbox"> 

 <div class="custom_images">

 <a class="addthis_button_facebook"><span>Facebook</span><img src="http://addthis.com/cms-content/images/gallery/aquaticus_facebook.png" alt="Share to Facebook" /></a>
  <a class="addthis_button_twitter"><span>Twitter</span><img src="http://addthis.com/cms-content/images/gallery/aquaticus_twitter.png" alt="Share to Twitter" /></a>
<a class="addthis_button_myspace"><span>MySpace</span><img src="http://addthis.com/cms-content/images/gallery/aquaticus_myspace.png" alt="Share to MySpace" /></a>
<a class="addthis_button_stumbleupon"><span>Stumble</span><img src="http://addthis.com/cms-content/images/gallery/aquaticus_stumbleupon.png" alt="Stumble It" /></a>
<a class="addthis_button_reddit"><span>Reddit</span><img src="http://addthis.com/cms-content/images/gallery/aquaticus_reddit.png" alt="Share to Reddit" /></a>
<a class="addthis_button_delicious"><span>Delicious</span><img src="http://addthis.com/cms-content/images/gallery/aquaticus_delicious.png" alt="Share to Delicious" /></a>
  <a class="addthis_button_more"><span>More...</span><img src="http://addthis.com/cms-content/images/gallery/addthis_64.png" alt="More..." /></a>
  </div>
  </div> 
  </div>
  </div>
  </div>

  <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script>
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
  <script type="text/javascript" src="http://addthis.com//cms-content/images/gallery/fisheye-iutil.min.js"></script>
  <script type="text/javascript">
  $(function () { 
  // Dock initialize
  $('#dock').Fisheye(
  {
  maxWidth: 30,
  items: 'a',
  itemsText: 'span',
  container: '.dock-container',
  itemWidth: 50,
  proximity: 60,
  alignment : 'left',
  valign: 'bottom',
  halign : 'center'
  }
  );
  });
  </script>
  • Save The Gadget
  • Save The Template
  • Check Your Blog
All Done. If you have any problems regarding this, Comment and I Shall be Helping You.
Happy Blogging !

Adding Social Content Locker in Blogger

Hi guys, today I am bringing you the most fantastic Widget which helps to increase our Blogs traffic By Sharing. It Is Called Social Content Locker which helps to share our blog to unlock the content. You may have seen related to this content locker in different surveying sites where we must share the page to view hidden text, downloads and much more.
So, lets add this special widget in our blog.

Follow My Steps to add it in your blog;

  • Open your blog account
  • Go To Blogger Dashboard
  • Select Your Blog and click On Layout
  • Click On Template and select Edit HTML 
  • Search For This Code </head>
  • paste the below code just below the code
<link href='https://drive.google.com/file/d/0B6h45U6VDP-abXFiYWZPZlVoeTA' rel='stylesheet' type='text/css'/>

  • Now, save your template
Now, let's add this in our desired post. Follow my steps to show it in our specified posts;

  • Click On The Blog post where you want to add this
  • Click On Edit post
  • Select HTML in place Of Compose button
  • Paste The Code There

<article id="default-usage">
<div class="to-lock" style="display: none;">
<!--Hidden Content Starts (You can Use HTML BELOW)--> <div style="text-align: center; margin-bottom: 20px;"> <img src="Add_Hidden_Image_Here" alt="" style="margin: auto;" /> </div>
Add Your Hidden Text Here
<div style="text-align: justify"> </div> <!--Hidden Content Ends (You can Use HTML ABOVE)-->
</article>
</div><div id="nbtunlocker"> </div>
<script type="text/javascript" src="https://drive.google.com/file/d/0B6h45U6VDP-acDRPeDFFeXRCRE0"></script>
<script> jQuery(document).ready(function ($) { $("#default-usage .to-lock").socialLock({ text: { message: "Yes, this is Social Locker. Just try it, click on one of buttons." header: "Share it To Unlock This Content", }, style: "ui-social-locker-secrets", buttons: { order: ["twitter", "facebook", "google"] },
url: "http://www.twitter.com/bloggersmasher",
// twitter options twitter: { text: "Upgrade your social buttons to get more social traffic!" url: "http://www.facebook.com/bloggersmasher", }, // facebook options facebook: { appId: "408184442589211" url: "bloggersmasher.blogspot.com" }, google: { } });
});;;;
</script>
  • Now, Change The Following Highlighted Lines:
Change Add_Hidden_Image_Here with Your Hidden Image
Change Add Your Hidden Text Here with your hidden Text
Change bloggersmasher with your Twitter Username
Change bloggersmasher with your Facebook page Link
Change bloggersmasher.blogspot.com with Your Google plus Username

  • At Last, publish The post
Now, we've successfully added social content locker in our blog. If You Have any kind of problems, you can comment and I shall Help You. 
Happy Blogging!!!
Regards,
Nischal Khanal

Adding Attractive Navigation Bar For Blogger


A navigation menu is highly required organize your blog labels, or to add a menu button for a new Blogger page, or to link to another page on the web. This can be done using some basic HTML and CSS. Before 2 years, our previous admin Mr. Ajaya Gajurel wrote a post on "Creating Custom Navigation Bar for Blogger". You can see it here. So, I'm not going to describe more about it. Just I will be telling you that they will work as a buttons for bloggers. When we click on any of them, it redirects to the specified URL of it.

Follow My Steps on Adding Custom Navigation Bar;

  • Go To Blogger Dashboard
  • Click On Add A Gadget Just Below Your Blogger Header (Because We will be showing it in the top of our blog)
  • Click On HTML/Javascript 
  • Paste The Below Code there;
 <div id="tabs24">  
      <ul>  
           <li><a href="1st link" title="Smasher Menu"><span>Home</span></a></li>  
           <li><a href="2nd Link" title="Smasher Menu" class="current"><span>About Us</span></a></li>  
           <li><a href="3rd link" title="Smasher Menu"><span>Services</span></a></li>  
           <li><a href="4th Link" title="Smasher Menu"><span>Our Work</span></a></li>  
           <li><a href="5th link" title="Smasher Menu"><span>Contact Us</span></a></li>  
      </ul>  
 </div>  


  • Change 1st Link, 2nd Link, 3rd Link, etc with your respective links.
  • Change Home, About Us, Services, Our Work, Contact us, etc with the text to appear in the button.
  • Save it!
Now, we have added the links. But it is incomplete and looks very very simple. Now, let's stylize the bar. Follow My Steps To Stylize the navigation bar;
  • Go To Blogger Dashboard And Select Template And Click On Edit HTML
  • Then Search for This Code inside the HTML Codes: ]]></b:skin>
  • Now Just Paste This below code before/above ]]></b:skin>
 /* ---------------------- Start Smasher Navigation Bar ---------------------- */  
 #tabs24{position:relative;height:43px;font-size:14px;text-transform:uppercase;background:#fff url("images/time4bed_bg.gif") repeat-x bottom left;font-family:Georgia, "Times New Roman", Times, serif;}  
 #tabs24 ul{margin:0;padding:0;list-style-type:none;width:auto;float:left;}  
 #tabs24 ul li{display:block;float:left;margin:0 2px;}  
 #tabs24 ul li a{display:block;float:left;color:#ffdab6;text-decoration:none;padding:0 0 0 25px;height:43px;line-height:50px;}  
 #tabs24 ul li a span{display:block;float:left;padding:0 25px 0 0;height:31px;width:auto;}  
 #tabs24 ul li a:hover{color:#fff;}  
 #tabs24 ul li a:hover span{display:block;cursor:pointer;}  
 #tabs24 ul li a.current,#tabs24 ul li a.current:hover{color:#894d12;background:transparent url("images/time2bed_left-ON.gif") no-repeat top left;}  
 #tabs24 ul li a.current span{background:transparent url("images/time2bed_right-ON.gif") no-repeat top right;height:43px;}  
 /* ---------------------- END Smasher Navigation Bar ---------------------- */  

  • Save Your Template
  • Check Your blog
Now, we have made a custom navigation bar for blogger. The final work in your blog looks similar to this;
If you guys have any problems regarding this topic, you can comment below;
Regards,

Add Beautiful E-mail Subscription Box For Blogger


Sometimes, our reliable visitors may not be able to view our blog posts. So, they'd like to subscribe via RSS.  Each of the visitor subscribed by RSS would be updated immediately after updating the site. So, it is preety much cool. Visitors will be e-mailed automatically after the update of the website.
But, many of the users have the default blogger Feedburner E-mail Subscription Box which doesn't look preety and attractive. So, in this tutorial, We've brought you guys a beautiful e-mail subscription box for blogger.
So, let's get started;

Add Stylish E-mail Subscription Box For Blogger;

  • Go To Blogger Dashboard and select your blog
  • Click On Layout And Select Add A Gadget(Recommended To Add It On Footer)
  • Then Choose HTML/Javascript
  • Paste the Below Code There;
 <div id='footer-newsletter-wrap'>   
 <div id='footer-newsletter'>   
 <h2 class='title'>Subscribe to our newsletter<span style='color:#f54000;'>.</span></h2> <span>(Get fresh updates in your inbox. Unsubscribe at anytime)</span>  
  <div class='newsletter-inner'>   
 <form action='http://feedburner.google.com/fb/a/mailverify' method='post' onsubmit='window.open("http://feedburner.google.com/fb/a/mailverify?uri=bloggersmasher", "popupwindow", "scrollbars=yes,width=550,height=520"); return true' target='popupwindow'> <table> <tr> <td width='100%'> <input class='newsletter-address' name='email' placeholder='Your Email Address' type='text'/> </td> <td> <input class='newsletter-submit' type='submit' value='Subscribe'/>   
 </td>  
 </tr>   
 </table>  
  <input name='uri' type='hidden' value='newbloggerlab'/>   
 <input name='loc' type='hidden' value='en_US'/> </form>   
 </div> </div> </div>   
 <style> .newsletter-inner { margin-top:15px; } .newsletter-inner .newsletter-address{ color:#fff !important; width:100%; font-size:16px; border:0; background-color:#2B4052; padding:20px 0px 20px 25px; border-radius: 0px; -moz-border-radius:0px; -webkit-border-radius:0px; } .newsletter-inner .newsletter-submit{ width:100%; margin:0px 0px 0px 29px; border:0; background:#a3d14f !important; color:#1E2D3A; font-size:16px; z-index:0 border-radius: 0px; -moz-border-radius:0px; -webkit-border-radius:0px; font-weight:bold; padding:20px 20px 20px 20px; } .newsletter-inner .newsletter-submit:hover{ background:#93bc47 !important; } .grid a, .grid a:visited {color:#eeeeee} .grid a:visited {text-decoration:underline} .grid a:hover {color:#cccccc} #footer-newsletter-wrap { background:#1E2D3A; margin: 0 0 0 0; padding: 50px 0 60px 0; } #footer-newsletter-wrap a { color:#66665f; } #footer-newsletter { color:#5b5b5e; width: 520px; margin: 0 auto; } #footer-newsletter h2 { margin: 0px 0 10px 0; padding: 0; border-bottom: none; font-weight: bold; text-transform: none; color: #fff; font-size: 26px; text-shadow:2px 2px #151f28; } #footer-newsletter ::-webkit-input-placeholder { color: #fff; } </style>  

  • Change Bloggesmasher with your Feedbuner URL
  • Save Your Layout
  • Done!
Now, we have successfully added stylish E-mail Subscription Box. If you have any problems, you can ask us below.
Regards,
Nischal Khanal

How To Create A Stylish Contact Form For Blogger


Visitors may need to contact the blog administrators for some reasons or for requesting something and many other reasons. Many visitor may have some difficulties in contacting the author. For an example, if the users don't mention their e-mail address or if they don't have contact form. Sometimes it becomes a great need to contact an author, and if there are no any sufficient measures for it readers may get disappointed and leave visiting the specific blog.
So, in this video tutorial, we will be discussing on creating the contact form. You guys just need to follow my easy tutorials.
So, let's get Started;

  • Go To This Link(Opens In New Tab)
  • Go Through Sign-Up
  • In it's Dashboard, you'd see many options like this;










  • Click On Contact Form Box.
  • In the form name, type the title of your contact form and click on "OK"
  • Then, you can see the layout of the form. Just make it as you like.
  • After customizing the layout, click on Continue Button
  • Select Blogger (Since We Are Using Blogger Platform)
  • Then Copy The Codes
  • Open Your Blogger Dashboard And Select Your Blog
  • Click On Page And create A New Page
  • Switch To HTML From Compose Button
  • Paste The Code and give a suitable title.
  • At last, click on publish post.
Now, we have added contact form fr our blog. If you guys have any problems, you can ask any questions.
Read Our Other Useful Posts;
Nischal Khanal(Author)

Changing The Mouse Cursor

Cursor is the most used thing to give input to computer. Each and every time our eyes are on it. So we can use that attraction for our benefit.
By using a simple CSS code we can change the mouse cursor so whenever others view our blog they will get an attractive cursor instead of the default boring cursor. If you don't believe me, see the live demo of this trick in our test blog.

So you wanna add this to your blog also. If so follow steps below;

1. Get The Cursor;

First of all before you can use your cursor you will need to get one. There are thousands of cursors available in the Internet. If you don't get it see these cursor hosting sites;
Just select one of them and download it. Then host it in image hosting sites like Picasa, Flickr, google,etc. and get the direct link of your cursor. Once you get it you can move on to next step.

2. Implementing The Cursor;

After you got the direct link you can now implement it in your blog;
  • Go to dashboard>Template>Customize>Advanced>Add CSS.
  • Add the below CSS code to your blog.
body, a, a:hover ,a:visited { cursor: url(YourCursorUrl), progress; }
  • In the above code change "YourCursorURL" with the direct link of the cursor you got in step 1.
  • Finally apply it and you are done.
Now, visit your blog and you will find a totally amazing cursor in your blog.
Enjoy!

Troubleshoot:Cannot Delete My Gadget?

Sometimes when you click on edit link on any gadget you don't get the delete button. You may feel quite uneasy when you won't see the delete button. Now, how to delete it? The same was that problems with people in forums too.

So as a solution I am writing this post for all of you;
When you don't get the delete button, it resembles that the gadget you are trying to delete is locked. You can find the locked widgets easily as locked widgets cannot be moved but other can. To delete the locked gadget follow below;

Deleting The Locked Widget;

  • Go to Dashboard>Template>Edit HTML.
  • In your template code search for the ID of the locked widget. If you don't know how to find widget ID, then see this tutorial.
  • Then remove the line containing the ID and save it and you are done.

Moving The Locked Gadget;

  • If you want to move it then you would have to change (locked="true") into (locked="false") in the same line and the save your template.
  • Then go to your layout and move it according to your wish and save it.
Now, you are done deleting the locked widget.
Happy Blogging!

Finding The Widget Id And Section

You might have added several widget in your blog. Each widget has it's own ID and Section. It's good to know the way to find it as their are some benefits of it such as;

  1. While styling the widget you will need to use it as a selector. ( To use an Id as a selector, you need to add the pound sign “#” as a prefix, as in#YourWidgetId {} ).
  2. To access the widget content, use it with Javascript getElementById method.
So, you got it's importance ya. Now, let's find the widget ID and Section. Follow below steps;

Finding Widget ID & Section;

  • In your blog Layout click on edit on any widget.
edit widget
  • The widget editing will pop-out. See the URL of that dialog box.
Finding The Widget Id And Section
  • See a preview below and the part highlighted by black rectangle. The first one is the section and the second one is the ID of the widget you clicked edit.
  • Thus, you have found the widget section and ID.
This way you can find the widget ID and section of any widget easily.

Adding Custom Search Engine Box

Hi guys! I want you to see my blog navbar. Now see on its right side what do you see? You might very well see a search box. If you couldn't find out see the preview below;
Custom Search Engine Box
It's interesting isn't it. That box searches the content of only my blog so if the people cannot find the tutorials the they can use that is to search fort those tutorials. A very delighting fact is that this search engine uses the same mechanism as google itself as it is powered by blogger. So that we can be assured that the other people will get relevant results. Adding a custom search engine is easy. Just follow the steps below;

1. Creating The Search Box;

Before you add the search box, you will need to create one. It is easy,but for better understanding I have kept images as well. Se below;
  • Go to google custom search engine.
  • There click on Create A Custom Search Engine.
  • You will be provided with a form. Fill up with correct credentials;
















  1. In the form you can add multiple sites to search if you want. If not enter your blog URL only.
  2. English is the universal language. So, I suggest you to choose it. But if your blog has readers from a specific country you can choose the language of the country.
  3. After you are done click on "Create" button.
  • After you click on Create you will redirected to the page where you will get your box code.
  • Copy the unique code given among the whole code. That unique code is the code of your search box. Remember, you just need to copy the code like in the above image.

2. Search Box Code;

After you have successfully got the unique code we can move to next step. Now, we will add it in our blog. See the below steps;
  • Copy the given code;
<!-- Search box code Starts --> 
<div style="color:#000000;float:right;margin:2px 8px 0 0 ;"> 
<form action="http://bloggersmasher.blogspot.com/p/search-results.html" id="cse-search-box"> 
<div> 
<input type="hidden" name="cx" value="Your Unique Id" /> 
<input type="hidden" name="cof" value="FORID:10" /> 
<input type="hidden" name="ie" value="ISO-8859-1" /> 
<input style="margin-bottom:2px;" type="text" name="q" size="31" /> 
<input type="submit" name="sa" value="Search" /> 
</div> 
</form> 
<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&amp;lang=en"></script> 
</div> 
<!-- Search box codes Ends -->
  • In the above code replace;
  1. "http://bloggersmasher.blogspot.com/p/search-results.html" with the URL of your blank page where you want the search results to appear. If you don't have any blank page then create a new page by going to Dashboard>Pages>Create A New Page. Don't write anything there and publish it.
  2. "Your Unique Id" with your unique code you got it previous step.
Now, copy the code replaced by your credentials.

3. Adding Search Box To Blog;

You can keep this search to whatever place you desire. Let's know the way to add it to your blog. Follow below steps;
  • Go to dashboard>Layout.
  • Click on Add A Gadget and choose Html/Javascript.
  • Paste the code you got in step-2.
  • Click on save and you are done.
I hope you guys have successfully completed this work. If you have anything to say then comment below.

Finding The Dimension Of Anything On Screen

Hey guys! Wouldn't it be a great thing if we could somehow measure the size of an image on screen. If I was possible or if anything like measuring size of anything on screen the. We could develop our blog efficiently. During the duration of blogging we may need to add images in a specific part whose size is unknown than this sort of tool would come in handy ya!

Now today we shall be using this amazing tool. It is a very simple or rather we say it an extension for browser. The name of this amazing tool is "Measure It". You will need to get it. But don't worry as Blogger Smasher team is here to help you. Please follow some steps below;
  • Go to this frayd.us.(opens in a new tab)
  • Then under the measure it tool click Fx for firefox, Cr for chrome & Sf for safari.
  • The extension will be downloaded to your browser. It will support only three browsers which are chrome, Firefox and safari.
  • Then install it and you are done.

Proper Way To Use "Measure It";

  • Click on the icon of Measure It in the extension bar.
  • Then a "+" cursor will appear.
  • Drag it and you will find the dimension(length and height) of the specific place in pixels.
I hope you would like this tool. Please consider donating it's creator here, if you want to.
Bye Bloggers!

Smooth Scroll To Top Button

You can enable your visitors to directly go to the top part of your site when your site has to much content. Usually visitors feel pretty bored when they roll the button on the mouse to go to the top. Some people even close the site for bearing the burden to scroll all the way to the top.
Smooth Scroll To Top Button

But thanks to this tool which I am going to tell how to add in your blog, your visitors can be forwarded to the top menu without having to scroll.

As a live example you can see the scroll to top menu of our blog. It is the same widget I am talking in this post.

So today we shall be adding this awesome widget. Adding this widget is very easy. You just have to follow some steps;

1. Code Of Scroll To Top Button;

Given below is the Html code of this widget. You can directly copy it;
<script type="text/javascript" >
var scrolltotop={
 //startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
 //scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
 setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
 controlHTML: '<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjolM9fXPNbdB5OuN67cSkL4590ggf0mdeZJ_-1Re46gkno2bBIKVDryTyvm_QJKAhNtzJCYkDkq75Z1Ui1ZrHkWRP-WNYOa0onPCuBM6Focs3Hg9yq_xK3I3fF5ITWiDrFwZJMQbRCdoU/" />', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
 controlattrs: {offsetx:5, offsety:5}, //offset of control relative to right/ bottom of window corner
 anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links

 state: {isvisible:false, shouldvisible:false},

 scrollup:function(){
  if (!this.cssfixedsupport) //if control is positioned using JavaScript
   this.$control.css({opacity:0}) //hide control immediately after clicking it
  var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
  if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
   dest=jQuery('#'+dest).offset().top
  else
   dest=0
  this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
 },

 keepfixed:function(){
  var $window=jQuery(window)
  var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
  var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
  this.$control.css({left:controlx+'px', top:controly+'px'})
 },

 togglecontrol:function(){
  var scrolltop=jQuery(window).scrollTop()
  if (!this.cssfixedsupport)
   this.keepfixed()
  this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
  if (this.state.shouldvisible && !this.state.isvisible){
   this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
   this.state.isvisible=true
  }
  else if (this.state.shouldvisible==false && this.state.isvisible){
   this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
   this.state.isvisible=false
  }
 },
 
 init:function(){
  jQuery(document).ready(function($){
   var mainobj=scrolltotop
   var iebrws=document.all
   mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode
   mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
   mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
    .css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
    .attr({title:'Scroll Back to Top'})
    .click(function(){mainobj.scrollup(); return false})
    .appendTo('body')
   if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text
    mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text
   mainobj.togglecontrol()
   $('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
    mainobj.scrollup()
    return false
   })
   $(window).bind('scroll resize', function(e){
    mainobj.togglecontrol()
   })
  })
 }
}

scrolltotop.init()
</script>

2. Adding The Widget To Blog;

After you copied the code it's time to add it in the blog. To add it follow below steps;
  • Go to dashboard>Layout.
  • Click on Add A Gadget in the footer area.
  • Choose Html/Javascript and paste the code you got in step 1.
  • Leave the title empty and click on save.
Now, you are done. Open your blog and you can see your smooth scroll to top button. Happy Blogging Pals!

Free HTML Encoder Tool


Hello guys! Today I am bringing you an amazing tool. A free Html Encoder Tool. It will encode the especial characters in a single click.
Free HTML Encoder Tool

As you all know what HTML already is ya and how important it is for blogger. But sometimes (like while commenting) the HTML codes like <,>,",etc won't work. It will instead mess up the site. SO as a solution this Html encoder tool is made.
The code in HTML are encoded like this
  • '<' will be encoded to  '&lt;'
  • '>' will be encoded to   '&gt;'
  • '"' (double quote) will be encoded to   '&quot;'
  • ''' (single quote) will be encoded to   '&#039;'
  • '&' becomes '&amp;'
I hardly can guess people who can encode all these codes. Sometimes we may mistake also. So, don't worry. Here is the tool;

HTML Encoder By Blogger Smasher


Some tips to use this tools are;
  • Type in your code.
  • Then hit encode and it will be encoded.
  • Copy it and paste it in your site.
Happy Blogging!!

Adding Translator Widget With Flags

Before this post, I had written another one related to this. It was Adding Translator Widget To Blog. There i told my fellow visitors the way to add translator widget and it's importances. But, most of them were attracted by the widget upper than that. Ya! I mean the translator widget with flags. Looks pretty awesome ya.

This widget is made by adding flags URL instead of the bold letters. It did consume a lot of time creating it but nothing matters in front of the friends. So today we will add translator widget with flags. But before see it's benefits;

  • It is more attractive to see.
  • Visitors can covert (translate) the page into their desired language just clicking the flags.
  • You can add some other flags or remove some according to our desire which is not allowed by the default translator widget by blogger.
Now,lets add this wonderful widget;
  • Go to dashboard>Layout.
  • Click on Add A Gadget in the place where you would like this great widget to appear.
  • Then choose Html/Javascript.
  • Then copy the below code;
<!-- Translate flag BEGIN --> 
<style type="text/css">.w2bgft{padding:5px;}.w2bgft input{padding:1px;margin-left:1px;border:1px solid #ccc;}.w2bgft input:hover{border:1px solid #ff0000;}</style><div class="w2bgft"><!--Google Flag Translator--><form action="http://www.google.com/translate"><script language="JavaScript">document.write ("<input name=u value="+location.href+" type=hidden>")</script><input value="en" name="hl" type="hidden"/><input value="UTF8" name="ie" type="hidden"/><input value="" name="langpair" type="hidden"/><input onclick="this.form.langpair.value=this.value" title="English" value="auto|en" type="image" height="20" src="http://www.google.com/images/flags/uk_flag.gif" width="30" name="langpair"/><input onclick="this.form.langpair.value=this.value" title="Chinese Simplified" value="auto|zh-CN" type="image" height="20" src="http://www.google.com/images/flags/cn_flag.gif" width="30" name="langpair"/><input onclick="this.form.langpair.value=this.value" title="Greek" value="auto|el" type="image" height="20" src="http://www.google.com/images/flags/gr_flag.gif" width="30" name="langpair"/><input onclick="this.form.langpair.value=this.value" title="Hindu" value="auto|hi" type="image" height="20" src="http://www.google.com/images/flags/in_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="German" value="auto|de" type="image" height="20" src="http://www.google.com/images/flags/de_flag.gif" width="30" name="langpair"/><input onclick="this.form.langpair.value=this.value" title="Dutch" value="auto|nl" type="image" height="20" src="http://www.google.com/images/flags/nl_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Russian" value="auto|ru" type="image" height="20" src="http://www.google.com/images/flags/ru_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Bulgarian" value="auto|bg" type="image" height="20" src="http://www.google.com/images/flags/bg_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Polish" value="auto|pl" type="image" height="20" src="http://www.google.com/images/flags/pl_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Czech" value="auto|cs" type="image" height="20" src="http://www.google.com/images/flags/cz_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Croatian" value="auto|hr" type="image" height="20" src="http://www.google.com/images/flags/hr_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="French" value="auto|fr" type="image" height="20" src="http://www.google.com/images/flags/fr_flag.gif" width="30" name="langpair"/><input onclick="this.form.langpair.value=this.value" title="Italian" value="auto|it" type="image" height="20" src="http://www.google.com/images/flags/it_flag.gif" width="30" name="langpair"/><input onclick="this.form.langpair.value=this.value" title="Portuguese" value="auto|pt" type="image" height="20" src="http://www.google.com/images/flags/pt_flag.gif" width="30" name="langpair"/><input onclick="this.form.langpair.value=this.value" title="Spanish" value="auto|es" type="image" height="20" src="http://www.google.com/images/flags/es_flag.gif" width="30" name="langpair"/><input onclick="this.form.langpair.value=this.value" title="Arabic" value="auto|ar" type="image" height="20" src="http://www.google.com/images/flags/sa_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Japanese" value="auto|ja" type="image" height="20" src="http://www.google.com/images/flags/ja_flag.gif" width="30" name="langpair"/><input onclick="this.form.langpair.value=this.value" title="Korean" value="auto|ko" type="image" height="20" src="http://www.google.com/images/flags/kr_flag.gif" width="30" name="langpair"/><input onclick="this.form.langpair.value=this.value" title="Chinese (traditional)" value="auto|zh-TW" type="image" height="20" src="http://www.google.com/images/flags/tw_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Danish" value="auto|da" type="image" height="20" src="http://www.google.com/images/flags/dk_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Finnish" value="auto|fi" type="image" height="20" src="http://www.google.com/images/flags/fi_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Norwegian" value="auto|no" type="image" height="20" src="http://www.google.com/images/flags/no_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Swedish" value="auto|sv" type="image" height="20" src="http://www.google.com/images/flags/se_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Catalan" value="auto|ca" type="image" height="20" src="http://www.google.com/images/flags/cl_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Filipino" value="auto|tl" type="image" height="20" src="http://www.google.com/images/flags/ph_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Hebrew" value="auto|iw" type="image" height="20" src="http://www.google.com/images/flags/il_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Indonesian" value="auto|id" type="image" height="20" src="http://www.google.com/images/flags/id_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Latvian" value="auto|lv" type="image" height="20" src="http://www.google.com/images/flags/lv_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Lithuanian" value="auto|lt" type="image" height="20" src="http://www.google.com/images/flags/lt_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Serbian" value="auto|sr" type="image" height="20" src="http://www.google.com/images/flags/rs_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Slovak" value="auto|sk" type="image" height="20" src="http://www.google.com/images/flags/sk_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Slovenian" value="auto|sl" type="image" height="20" src="http://www.google.com/images/flags/si_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Ukrainian" value="auto|uk" type="image" height="20" src="http://www.google.com/images/flags/ua_flag.gif" width="30" name="langpair2"/><input onclick="this.form.langpair.value=this.value" title="Vietnamese" value="auto|vi" type="image" height="20" src="http://www.google.com/images/flags/vn_flag.gif" width="30" name="langpair2"/></form><!--Google Flag Translator--></div><span float="right"><a href="http://bloggersmasher.blogspot.com/2013/02/adding-translator-widget-with-flags.html" target="mynewwindow">Get This</a></span>
<!-- Translate flag end -->
  • Now paste the above code in the content box of Html/Javascript.
  • Finally click on save and you are done.
Now, a wonderful widget has been added to your blog. I hope it will help to increase your visitors.
BYE!!

Adding Translator Widget To Blog

As we know that there are 200+ countries in the world and a single country consists of many languages which would result the sum of language more than a thousand or even two.

As blogger is a host which allows people of any language to blog, it becomes quite difficult for them if their solution is in another blog which consists of another language.

In this case many people have presented their problems. Also blogging in many languages is not possible (it can't be imagined also). SO to tackle this problem today we will add a translator widget to our blog.

Adding Translator Widget;

This translator widget is a gadget by blogger itself. So, it is quite easy to add it. Just follow below steps;
  • Click on Add A Gadget.
  • Then click on Translate which is in the 4th position.
  • Then design your translator widget.
  • Finally click on save and you are done.
By, this way you can add the translator widget. But what if you wan to add some other codes along with it? Blogger won't allow it. So we will have to edit it our self. The code for translator widget is;
<div style="float:left; margin-left:70px; padding-top:10px;" id="translate">
 <center>
  <div id="google_translate_element"></div>
  
  <script type="text/javascript">
  function googleTranslateElementInit() {
    new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, gaTrack: true, gaId: 'UA-26531328-1'}, 'google_translate_element');
  }
  </script><script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
  
 </center>
</div>
Thus this was the code of the widget you added before. Edit it if you want. Then;
  • Click on Add a gadget.
  • Then choose Html/Javascript.
  • Then paste the code there and you are done.
I hope this widget is very helpful to you as it resulted fruitful for me too.
 Happy blogging!!

Adding RSS Button In Blogger

In my previous post I had explained to all of you guys the true meaning of RSS. There I had left a message of the post where I will be teaching the way to add RSS button in blogger. Afterwards I received many e-mails from my visitors. So this the continuation of my previous post.


Today in this post, we will be learning the simplified way to add RSS button in blogger.

With this you will have many benefits as well. I assure you that it is very easy. Just follow some few simple steps;

STEP-I(Getting The RSS Button);
You see before you add RSS button you need to get one of them. A RSS button is like the one above in my post. It is denoted by a dot and to arcs. You can get millions of them. Out of them just download one of them from the sites like;

Search the query RSS in their image search site and get a suitable one matching to your blog. Or if you can, you can also make one by yourself.

STEP-II(Uploading The Button);
After you have got the RSS icon you need to upload it. There are hundreds of image hosting sites out there. Some of them are;
Just upload your icon in one of the image hosting site. Then right click on the image you uploaded the click on "copy image URL". Now you have copied the direct link of your icon.(link ending with .jpg,.png or .gif)

STEP-III(RSS Button Code);
Here is the html code of RSS button. Just copy it;
<a href="http://YourBlogname.blogspot.com/atom.xml" title="Subscribe For Free">
<img src="Rss icon URL" style="border:0"/>Subscribe to my feed</a>
Here in the above code replace,
  • "YourBlogname" with your own blog name.
  • "Rss icon URL" with the direct link of you RSS icon you got in STEP-II.
  • If you have your own feed address then replace the feed source in line one with your own feed address
STEP-IV(Adding RSS Button);
Now, it's turn to add RSS button to your blog. Just follow some steps;
  • Go to your blogger dashboard.
  • Click on the dropdown menu and select layout there.
  • Then you will see your blog page layout. There click on Add A Gadget in the place where you would like your button to appear. For best results keep in the top areas.
  • Then scroll down and select Html/Javascrript.
  • Then paste the code you edited with your own credentials in STEP-III in the vacant box and give the title of the widget.
  • Finally, click on orange save button and you are done.
Now you have successfully added a RSS button to your blogger.
CHEERS!!