Must Read: Internet Par Website Kaise Banaye | Recommended: Internet Se Paise Kaise Kamaye Best Tips
Subscribe For Free Latest Updates!

We'll not spam mate! We promise.

Dec 31, 2016



Kuch hi dino me naya year anewala hai aur iss new year ko ham sabhi alag alag tarike se manate hai, koi dosto ke sath ghumne jate hai, koi family ke sath picnic par jate hai, kuch na kuch karke haam sabhi new saal me masti karte hai. Lekin dosto aagar aap blogging karte ho aur chahate ho new year me aap aapne blog visitor ko aapne blog par kuch naya dikhwoge too aajke iss post ko follow karke aap aapne Blogger blog par Happy New Year 2017 Fireworks effect add kar sakote ho.

Fireworks effect ke matlab atish bazi dosto haam kuch kare ya na kare new year par atish bazi jorur karte hai. same usi traha aap aapne blog par bhi live atish bazi effect add kar sakoge bohuti asan tarike se. Too dosto chaliye dekhte hai kaise karte hai.

Read: Blogger Par Add Kare Facebook Reaction Buttons

blogspot-blog-par-add-kare-new-year-atish-bazi-effect



Blogger Blog Par New Year Atish bazi Effect Kaise Add Kare


Atish bazi effect add karne ke liye aapke blog template par kuch javascript code use karna hoga jo main niche aapko de diya hai. Dosto javascript se blog slow hota hai isi liye aap iss Atish bazi effect ko kuch time ke liye use kare.


Step 1. Pehle aap aapne blog ko login kare, uske bad Dashboard se Template par option par click kare.

Step 2. Aabhi aap Edit HTML tab par click kare, uske bad keyboard ke CTRL+F press karke </body> iss tag ko search kare.

Step 3. </body> ye tag aagar aapko mil jata hai too aap iss tag ke pehle yafir upar niche ki sare code ko copy karke past kare.


<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



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><a
href="#"></a>


Step 4. Upar ke code ko copy karke body tag ke upar past kare uske bad Save Template par click kare.

Friends abhi aap aapne blog par visit kare aapko Fireworks Effects dikhno ko mil jayega, aagar aapko post samaj ne me koibhi problem hota hai too niche comment karke bataye aur aagar aapko post accha laga hai to please post ko aapne dosto ke sath share kare.

2 comments : Post Yours! Read Comment Policy ▼
PLEASE NOTE:
We have Zero Tolerance to Spam. Chessy Comments and Comments with Links will be deleted immediately upon our review.

  1. apne website se paise laise kamaye

    ReplyDelete
    Replies
    1. Adsense se aap paise kama sakte hoo aapne blog se

      Delete

Dosto aagar apko ya post acchi lagi ho to niche comment kare. Koibhi galat word use na kare, Aagar apne koibhi galat comment post kiya to fir apke comment remove hoga. Or ek baat spam comment se dur rahiye.



Copyright © 2017 - MyHindiTricks - All Rights Reserved