The Arcive of vBulletin Modifications Site. |
|
Forum Load Time Indicator Details »»
|
|||||||||||||||||||||||||||
Ever wanted to see just how fast your board is loading?? Its a bit slow but your not sure how slow?? Just loaded a new hack - Is your board just as fast???
Well now you'll know with this simple little hack that sits queitly at the bottom of your footer. A timer starts when the page begins to parse and ends when it has completed loading all of the content. The result is the time in seconds of how fast (or slow) your forums are loading. The Instructions are so simple too ![]() ACP> Style Manager > Your Forum Style 1. Copy the code below into your forum's style headerinclude. Code:
<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>
Code:
<div align="center">
<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>
</div>
![]() Please Click install if you use this ![]() Original Script Created by : Abraham Joffe Screenshots
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Reserved
|
|
#3
|
|||
|
|||
|
The first piece if you use this, should go into the headerinclude. In the div for the footer if you added a class="smallfont" it looks a bit nicer.
|
|
#4
|
|||
|
|||
|
Nice job! (and agrees with Infopro)
*Installed* |
|
#5
|
|||
|
|||
|
Quote:
|
|
#6
|
|||
|
|||
|
|
|
#7
|
|||
|
|||
|
Why remove the original coders credit? The code was free anyway.
http://javascript.internet.com/text-...indicator.html |
|
#8
|
||||
|
||||
|
MY "timer" keeps going and going lol
|
|
#9
|
||||
|
||||
|
hahaha you made me laugh, dude.
|
|
#10
|
|||
|
|||
|
Quote:
![]() i was sent the code by one of my members without any mention of author or copyright attached to it, I will now add it to the main post. Why is it that you say i removed the original credit to the author??? In my Snowflake mod i give the author all the credit. Had i known about this one i would of done the same. Some people don't half jump to conclusions
|
![]() |
|
|