Saturday, January 15, 2011

Loading Time Indicator

0 comments


Hey blogger! This is another cool blogger gadget to your blog. " Loading Time Indicator" is a small and clear blogger gadget. It's indicate your blogger loading time. i'll have a many loading time indicators. but here you can get good loading time indicator gadget! so it's very easy to add your blog. please follow below steps. congrates!


1.Login to your blogger Dashboard and go to Desing --> Page Elements.

2.Click on 'Add a Gadget' on the sidebar.

3.Select 'HTML/Javascript' and add the one of code given below


<!-- INSTALL LOADING TIME INDICATOR By www.bdlab.blogspot.com:------>

<script type="text/javascript">
<!-- Begin
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Abraham Joffe :: http://www.abrahamjoffe.com.au/ */

var startTime=new Date();

function currentTime(){
  var a=Math.floor((new Date()-startTime)/100)/10;
  if (a%1==0) a+=".0";
  document.getElementById("endTime").innerHTML=a;
}

window.onload=function(){
  clearTimeout(loopTime);
}

// End -->
</script>
<script type="text/javascript">
<!-- Begin
  document.write('This page took <span id="endTime">0.0</span> seconds to load.');
  var loopTime=setInterval("currentTime()",100);
// End -->
</script>

<!-- Code End www.bdlab.blogspot.com ------>

4. Now Click On Save 'JavaScript' You are done....

0 comments:

Post a Comment

Followers

Blogumulus by Roy Tanck and Amanda Fazani
Free Blogger Tips, Hacks, Widgets, Templates and more