How to Add Fireworks Effects to Blogger

Hello buddies, hope you are  all right there. Christmas season is here already and New Year is quiet approaching. Before this season will end, let me share you a widget related to this very special season by decorating your blog with a fireworks effects. This widget is from mf2fm. Hope you will like this.
add fireworks display in blogger

This script has been tested on and shown to work with the following browsers:
Internet Explorer version 7 and above
Google Chrome version 4 and above
Mozilla Firefox version 2 and above
Apple Safari version 5 and above
Opera version 9 and above (including Opera mobile)
Android Browser version 3

AddingFireworks Effects to Blogger


Step 1. Go to Blogger Dashboard >> Template >> Edit HTML
Step 2. Look for the code below
<head>

Step 3. Just below that code, paste the code below
<script type="text/javascript">
// <![CDATA[
var bits=80; // how many bits
var speed=33; // how fast - smaller is faster
var bangs=5; // how many can be launched simultaneously (note that using too many can slow the script down)
var colours=new Array("#03f", "#f03", "#0e0", "#93f", "#0cf", "#f93", "#f0c");
//                     blue    red     green   purple  cyan    orange  pink

/****************************
*      Fireworks Effect     *
 *Bloggingtipsandtrix.blogspot.com*
****************************/
var bangheight=new Array();
var intensity=new Array();
var colour=new Array();
var Xpos=new Array();
var Ypos=new Array();
var dX=new Array();
var dY=new Array();
var stars=new Array();
var decay=new Array();
var swide=800;
var shigh=600;
var boddie;

if (typeof('addRVLoadEvent')!='function') function addRVLoadEvent(funky) {
  var oldonload=window.onload;
  if (typeof(oldonload)!='function') window.onload=funky;
  else window.onload=function() {
    if (oldonload) oldonload();
    funky();
  }
}

addRVLoadEvent(light_blue_touchpaper);

function light_blue_touchpaper() { if (document.getElementById) {
  var i;
  boddie=document.createElement("div");
  boddie.style.position="fixed";
  boddie.style.top="0px";
  boddie.style.left="0px";
  boddie.style.overflow="visible";
  boddie.style.width="1px";
  boddie.style.height="1px";
  boddie.style.backgroundColor="transparent";
  document.body.appendChild(boddie);
  set_width();
  for (i=0; i<bangs; i++) {
    write_fire(i);
    launch(i);
    setInterval('stepthrough('+i+')', speed);
  }
}}

function write_fire(N) {
  var i, rlef, rdow;
  stars[N+'r']=createDiv('|', 12);
  boddie.appendChild(stars[N+'r']);
  for (i=bits*N; i<bits+bits*N; i++) {
    stars[i]=createDiv('*', 13);
    boddie.appendChild(stars[i]);
  }
}

function createDiv(char, size) {
  var div=document.createElement("div");
  div.style.font=size+"px monospace";
  div.style.position="absolute";
  div.style.backgroundColor="transparent";
  div.appendChild(document.createTextNode(char));
  return (div);
}

function launch(N) {
  colour[N]=Math.floor(Math.random()*colours.length);
  Xpos[N+"r"]=swide*0.5;
  Ypos[N+"r"]=shigh-5;
  bangheight[N]=Math.round((0.5+Math.random())*shigh*0.4);
  dX[N+"r"]=(Math.random()-0.5)*swide/bangheight[N];
  if (dX[N+"r"]>1.25) stars[N+"r"].firstChild.nodeValue="/";
  else if (dX[N+"r"]<-1.25) stars[N+"r"].firstChild.nodeValue="\\";
  else stars[N+"r"].firstChild.nodeValue="|";
  stars[N+"r"].style.color=colours[colour[N]];
}

function bang(N) {
  var i, Z, A=0;
  for (i=bits*N; i<bits+bits*N; i++) {
    Z=stars[i].style;
    Z.left=Xpos[i]+"px";
    Z.top=Ypos[i]+"px";
    if (decay[i]) decay[i]--;
    else A++;
    if (decay[i]==15) Z.fontSize="7px";
    else if (decay[i]==7) Z.fontSize="2px";
    else if (decay[i]==1) Z.visibility="hidden";
if (decay[i]>1 && Math.random()<.1) {
  Z.visibility="hidden";
  setTimeout('stars['+i+'].style.visibility="visible"', speed-1);
}
    Xpos[i]+=dX[i];
    Ypos[i]+=(dY[i]+=1.25/intensity[N]);

  }
  if (A!=bits) setTimeout("bang("+N+")", speed);
}

function stepthrough(N) {
  var i, M, Z;
  var oldx=Xpos[N+"r"];
  var oldy=Ypos[N+"r"];
  Xpos[N+"r"]+=dX[N+"r"];
  Ypos[N+"r"]-=4;
  if (Ypos[N+"r"]<bangheight[N]) {
    M=Math.floor(Math.random()*3*colours.length);
    intensity[N]=5+Math.random()*4;
    for (i=N*bits; i<bits+bits*N; i++) {
      Xpos[i]=Xpos[N+"r"];
      Ypos[i]=Ypos[N+"r"];
      dY[i]=(Math.random()-0.5)*intensity[N];
      dX[i]=(Math.random()-0.5)*(intensity[N]-Math.abs(dY[i]))*1.25;
      decay[i]=16+Math.floor(Math.random()*16);
      Z=stars[i];
      if (M<colours.length) Z.style.color=colours[i%2?colour[N]:M];
      else if (M<2*colours.length) Z.style.color=colours[colour[N]];
      else Z.style.color=colours[i%colours.length];
      Z.style.fontSize="13px";
      Z.style.visibility="visible";
    }
    bang(N);
    launch(N);
  }
  stars[N+"r"].style.left=oldx+"px";
  stars[N+"r"].style.top=oldy+"px";
}

window.onresize=set_width;
function set_width() {
  var sw_min=999999;
  var sh_min=999999;
  if (document.documentElement && document.documentElement.clientWidth) {
    if (document.documentElement.clientWidth>0) sw_min=document.documentElement.clientWidth;
    if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight;
  }
  if (typeof(self.innerWidth)!="undefined" && self.innerWidth) {
    if (self.innerWidth>0 && self.innerWidth<sw_min) sw_min=self.innerWidth;
    if (self.innerHeight>0 && self.innerHeight<sh_min) sh_min=self.innerHeight;
  }
  if (document.body.clientWidth) {
    if (document.body.clientWidth>0 && document.body.clientWidth<sw_min) sw_min=document.body.clientWidth;
    if (document.body.clientHeight>0 && document.body.clientHeight<sh_min) sh_min=document.body.clientHeight;
  }
  if (sw_min==999999 || sh_min==999999) {
    sw_min=800;
    sh_min=600;
  }
  swide=sw_min;
  shigh=sh_min;
}
// ]]>
</script>

Step 4. Save your template and you're done.

Short Customization:


Just change the color in bold above to change the colors of fireworks above.

If you have encontered any problem related to this fireworks effects widget to Blogger, just leave a comment or message  below. I will help you.
Merry Christmas and Happy a New Year!

How to Add a Floating Contact Us Widget in Blogger

One of my posts officially demonstrated to you a way on industry standards to include a contact us gadget in blogger. Nonetheless, you may have recognized that occasionally clients think that it hard to place your contact us page join on the grounds that it is placed some place where it counts into your footer. Suppose it is possible that you are running an ecommerce website on blogger and your client needs to send a brisk inquiry email to the backing to discover some longing data. Since, your contact us page is placed where it counts the footer he may not send any email and would move to an alternate better site taking ceaselessly all the conceivable outcomes of making another deal. A straightforward answer for this issue is to have a gliding contact us gadget. Today in this article, we will demonstrate to you proper methodologies to include a floating contact us gadget in blogger.Thanks for my friend in bloggerlab for sharing this very nice post. Have a look  here for a demo
add floating contact us  widget

Adding a Floating Contact Us Widget in Blogger


Step 1.  Go to Blogger Dashboard  >> Template
Step 2.  Click Edit  HTML button
Step 3.  Click anywhere in the HTML template editor and press (CTRL+F), this will enable a search box. Now search for the tag below
]]></b:skin>

Step 4.  And just above it paste the following CSS style sheet coding.
#btat-contact .ContactForm {
    margin: 0px!important;
}
#btat-contact .contact-form-button-submit {
    max-width: none;
    width: 100%;
    height: 35px;
    border: 0;
    background-image: none;
    background-color: #168eca;
    cursor: pointer;
    font: normal normal 13px Oswald;
    font-style: normal;
    font-weight: 400;
}
.#btat-contact .contact-form-button-submit:hover {
    background-color: #158aee;
    background-image: none;
    border: 0;
}
#btat-contact #contact {
    position: fixed;
    bottom: 0;
    right: 1%;
    background-color: #EEE;
    color: #555;
    width: 300px;
    z-index: 1.0E+15;
}
#btat-contact #contact .contact-form-widget {
    padding: 30px;
    display: none;
}
#btat-contact #contact {
    position: fixed;
    bottom: 0;
    right: 1%;
    background-color: #EEE;
    color: #555;
    width: 300px;
    z-index: 1.0E+15;
}
#btat-contact #contact h2.title {
    margin: 0px;
    font-weight: 400;
    background-color: #168eca;
    color: #FFF;
    padding: 8px 15px;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 3px;
    text-align: center;
}
#btat-contact #contact h2.title .fa {
    position: absolute;
    left: 10px;
    top: 12px;
}
#btat-contact #contact .contact-form-widget {
    width: 240px;
    padding: 30px;
    display: none;
}
#btat-contact #contact * {
    transition: all 0 ease;
    -webkit-transition: all 0 ease;
    -moz-transition: all 0 ease;
    -o-transition: all 0 ease;
}
#btat-contact #contact .contact-form-name,#contact .contact-form-email,#contact .contact-form-email-message {
    background-color: #DDD;
    color: #111;
    border: 0;
    padding: 10px 5px;
    font: normal normal 13px Open Sans;
}
#l-contact .contact-form-name,.contact-form-email,.contact-form-email-message,.contact-form-widget {
    max-width: none;
    margin-bottom: 15px;
}

Step 5. Look for the </body> tag and just above it, paste the code below
<div id="btat-contact">
<b:section class='contact' id='contact' maxwidgets='1' showaddelement='yes'>
    <b:widget id='ContactForm2' locked='true' title='Contact us' type='ContactForm'>
      <b:includable id='main'>
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><i class='fa fa-paper-plane'/> <data:title/></h2>
  </b:if>
  <div class='contact-form-widget'>
    <div class='form'>
      <form name='contact-form'>
        <input class='contact-form-name' expr:id='data:widget.instanceId + &quot;_contact-form-name&quot;' expr:placeholder='data:contactFormNameMsg' name='name' size='30' type='text' value=''/>
        <input class='contact-form-email' expr:id='data:widget.instanceId + &quot;_contact-form-email&quot;' expr:placeholder='data:contactFormEmailMsg' name='email' size='30' type='text' value=''/>
        <textarea class='contact-form-email-message' cols='25' expr:id='data:widget.instanceId + &quot;_contact-form-email-message&quot;' expr:placeholder='data:contactFormMessageMsg' name='email-message' rows='5'/>
        <input class='contact-form-button contact-form-button-submit' expr:id='data:widget.instanceId + &quot;_contact-form-submit&quot;' expr:value='data:contactFormSendMsg' type='button'/>
        <div style='text-align: center; max-width: 222px; width: 100%'>
          <p class='contact-form-error-message' expr:id='data:widget.instanceId + &quot;_contact-form-error-message&quot;'/>
          <p class='contact-form-success-message' expr:id='data:widget.instanceId + &quot;_contact-form-success-message&quot;'/>
        </div>
      </form>
    </div>
  </div>
</b:includable>
    </b:widget>
  </b:section>
</div>
<script type='text/javascript'>
 //<![CDATA[
$( "#contact h2.title" ).click(function() {$( "#contact .contact-form-widget" ).toggle(1000);});
   //]]>
</script>

Short Customization:

Simply change the hexadecimal color 168eca to change the background color of your "send button"

Step 6. Save your template and your done.
Enjoy Blogging Buddies!

How to Add an Auto Scrolling Scrollbar in Blogger

In the past we have as of now demonstrated to you best practices to tweak your scrollbar in blogger with diverse styles, colors and customization. As of late, one of our clients asked us how to include auto scrollbar in blogger that naturally scrolls the page from the through and through. Making your scrollbar scroll naturally is an immaculate approach to marginally constrain your perusers to experience the entire page before leaving your site. In this article, we will demonstrate to you proper methodologies to include an auto scrolling scrollbar in blogger
add auto scrolling scroll bar in blogger

What is a Scrollbar?


A Scrollbar is a GUI (graphical control component) which controls components like content, pictures, features and else other possibilities accessible on the site page. In other straightforward words, its a long thing bar spotted at the right half of your screen by which a component can be scrolled with the assistance of a mouse.

It additionally has of two upwards and downwards bolts that helps you to span up or down the page. It is for pages as well as discover them on other programming like Word, Windows, Apple OS and so forth.

The most effective method to include Auto Scrolling Scrollbar in Blogger?


The primary thing you'll be obliged to do is to first login to your blogger account and select a site on which you'll like to include auto parchment bar. Presently go to Template &gt;&gt; Edit HTML &gt;&gt; scan for the completion  label (you will discover it the end of the codes). In the wake of discovering  just above it glue the accompanying code:

<script>
    /*<![CDATA[*/
    var div = $('body');
    setInterval(function() {
            var pos = div.scrollTop();
            div.scrollTop(pos + 2);
        }, 10)
        /*]]>*/
</script>

<style>
    body {
        overflow-y: scroll;
    }
</style>


You can increase the scroll speed by reducing the 10 in the above code.  While, increasing 10 to 100 or 1000 would make the scroll work slowly.

This technique can also be applied to a div, if you want to scroll only a certain element on your site. All you need to do is to replace the body to a div name from the above code.

 Like for <div id=”test”> the first line of the code would become  var div = $('#test'); and vice versa.

Once everything is done, save the template by pressing “Save Template” button located at the top of your screen. Congratulations, you have successfully installed the auto scrolling page feature in blogger. If you want to limit this scroll to certain pages then check out how to show or hide a widget on certain URLs in blogger.

We hope this article has helped everyone in learning how to add a auto scrolling scrollbar in blogger.  Share your thoughts about this small but useful tip in the comment section below. If you have any suggestion or requests feel free to write us using our contact us page.

How to Create Custom Webkit Scrollbar in Blogger Blog

Would you like to upgrade the Scroll bar of your site? Parchment bar shows up at the right half of the screen and, it permits clients to span down the page at whatever point they drag there mouse up or down the page. To give an easy to understand experience to your guests, it is fundamental to have a Smooth Scroll bar. On the other hand, there is probably Custom Scroll bar does the employment liberally, yet it is not great. Few days back, our peruser educated us about the brilliant Webkit Scrollbars that he has seen on distinctive sites. Besides, he additionally asked for us to create a comparable one. Thus, in this article we will figure out How to Create Customize Webkit Scrollbar in Blogger Blog? Please take a look at my scrollbar for a live a demo.




Instructions to Add Webkit Scrollbar in Blogger Platform? 


In all honesty, there is no intricacy in this excercise on the grounds that we should do nothing more than to embed a CSS to our topic, and it would do the employment easily. To introduce Webkit Scrollbar in your blogger format consider the accompanying directions.

Step 1. Go To Blogger.com >> Templates >>EDIT HTML >> Proceed.
Step 2. Now in the theme Search for ]]></b:skin> and above it Paste the Following CSS Coding.
/* --- Bloggingtipsandtrix CUSTOM WEBKIT SCROLLBAR IN BLOGGER BLOG --- */
::-webkit-scrollbar {
background:#ddd;
width:10px;
}
::-webkit-scrollbar-thumb {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
background-image: -webkit-linear-gradient(top, #158aee 20%, #158aee 60%);
}
::-webkit-scrollbar-thumb:hover {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
background-image: -webkit-linear-gradient(top, #168eca 20%, #168eca 60%);
}
::-webkit-scrollbar-track {
}


Short Customization:


Replace #ddd to change the background of your scrollbar. You can use our color code generator.
Then replace #158aee with the color that you want to see in the scrollbar and the hexadecimal
168eca for its hover effect.
Step 3. After doing all the customization just press the Save button. Now Visit your site and we are sure it wouldn’t let you down. By using the same technique, we can customize many elements of a website. We will soon release their tutorial too so stay tuned with BTAT

How To Add DISQUS Comment System in Blogger Blog?

The base of Blogger commenting skeleton is extremely smooth and sufficient for many individuals, yet what would happen on the off chance that it is must for your readers to unite with your webpage however some social regions like Facebook, Twitter, Google + to make a comment. For that, a site administrator needs to present an overabundance of Plugins or imagine a scenario in which I Say extra effort and persevering work.
integrate disqus comment system in blogger


Why not try it out to Disqus?


Disqus is a yet an exchange commenting system which is sufficiently versatile to help blend with other social networking sites such as Facebook, Twitter, Google, Open URL, and visitors can even login through their individual Disqus account where all our discussions are recorded. Something else which achieves a detectable change, than whatever other commenting schema, it has a  solid functionalities.

There is a straightforward technique for joining Disqus in Blogger. We have to just enroll an alternate record over Disqus and by Widget going along with it will override all the old/past comments. Consequently, Disqus would be presented successfully.

Enlisting a New Account over Disqus: 


Possibly the least difficult bit of the whole excercise is to select your new record. Just head to Disqus.com and register a free record for your site. Remember to check your character however email affirmation.
add disqus comment system to blogger

Installing Disqus Widget (Plugin) in Blogger:


After selecting "Blogger" as your platform, another page will be opened. From there, the process will get a bit complex. This establishment comprises of two steps: the first one is to include/add the Disqus Widget in Blogger and second to import old comments.

Step 1. Adding Widget:: Now on the page there will be two options. Just Select Add "Your Site Name" to my blogger site and a new window will pop'd out which will allow us to install the widget in our blog respectively.
integrating disqus comment system to blogger

Step 2. From the list select your blog and press the blue "Add Widget" button. It will successfully install Disqus commenting system in your site.
putting disqus comment system to blogger

Step 3. Importing Comments:  In order to import your old comments from previous platform just go to Tools > Import and proceed to the next step.
adding disqus comment system to blogger

Step 4. On reaching Import menu there will be two options, but we have to select "Import comments from Blogger" so that it imports all those comments which are previously published on the site.
integrate disqus comment system to blogger

Step 5. After selecting "Import Comments", it will take you to a new page where it will ask for accessing your blog's data. Just give it the permission by pressing "Grant Access" button.
put disqus comment system to blogger

Step 6. After granting the permission, go back to the Import >> Tools Page. Now you will be able to see a new option there i.e. "Choose a blog to import from" which will allow you to import comments from your blog. From the list select a blog to import comments. Once, the blog is selected press the "Import" button.
add disqus comment system to blogger

Congratulations, Disqus is successfully integrated into your Blogger enabled website. All the old comments will be processed one by one and would be available on your site once the Disqus team finishes reviewing it.

Some other delightful advantages of utilizing Disqus is that it permits us to produce a conventional measure of income by demonstrating a few notices inside remarks. Some substantial associations dependably incline toward it in light of the fact that it helps a group to become as well as gives dependability and client fulfillment. All an all, it is an absolute necessity have remark framework.

How to Add Disqus Recent Comments Widget to Blogger

Today, all of us will discover a straightforward and valuable course about how to provide a nice-looking and fast-loading Disqus Recent Remarks widget using a Blogger blog. Widgets including these types of make it possible for followers know about the actual interactions happening pictures blog, and if you're rather active, this results in an excellent feeling. This widget showcased is usually well-scripted plus the JavaScript is usually organised in Disqus to be able to slow up the weight moment with your blog. And so why don't we discover ways to create this to widget.
See live demo:  How to Add Disqus Recent Comments Widget to Blogger
disqus recent comment widget


Adding Disqus Recent Comments Widget to Blogger


You can add this widget code inside any text/html block inside your blog.
Step 1. Go to Blogger >> Layout
Step 2. Click on Add a Gadget
Step 3. Choose the HTML/JavaScript widget
Step 4. Now add it anywhere you like on your blog
Step 5. Now copy and paste the following code inside the HTML/JS widget.
<div id="RecentComments" class="dsq-widget">
<script type="text/javascript" src="http://bloggingtipsandtrix.disqus.com/recent_comments_widget.js?num_items=5&hide_mods=0&hide_avatars=0&avatar_size=32&excerpt_length=50"></script>
</div>
Step 6.  Click Save

Customization:


The code above contains a URL. You need to change the text in bold with your own domain name (yourdomain.disqus.com).
After the ? in the URL, you can see a bunch of parameters. These are used to customize the functionality of the widget. Here is a brief description for each of them.
num_items - Number of comments to show in the widget
hide_mods - Hide moderators' comments (1 for hidden, 0 for disabled)
hide_avatars - Hide display images (1 for hidden, 0 for shown)
avatar_size - Avatar size in pixels (32 by default)
excerpt_length - Character-length of the excerpt (1000 by default)

Adding CSS


.dsq-widget ul.dsq-widget-list {
 padding: 0;
 margin: 0;
 text-align: left;
}
img.dsq-widget-avatar {
 width: 32px;
 height: 32px;
 border: 0px;
 margin: 0px;
 padding: 0px 3px 3px 0px;
 float: left;
}
p.dsq-widget-meta {
 clear: both;
 font-size: 80%;
 padding: 0;
 margin: 0;
}
li.dsq-widget-item {
 margin: 15px 0;
 list-style-type: none;
 clear: both;
}
span.dsq-widget-clout {
 padding: 0 2px;
 background-color: #ff7300;
 color: #fff;
}
a.dsq-widget-user {font-weight: bold;}
a.dsq-widget-thread {font-weight: bold;}
table.dsq-widget-horiz td {padding-right: 15px;}
.dsq-widget-comment p {display: inline;}



Enjoy your day buddies!!!