Admin DueLLoYöneticisi
Mesaj Sayısı : 928 Doğum tarihi : 06/07/90 Yaşı : 34 Nerden : Antalya İş/Hobiler : Webtasarım - Öğrenci Lakap : Site sahibi Rep Puanı : 735008
| Konu: Loading Time Indicator (ing) Cuma Ara. 04, 2009 8:35 pm | |
| - Kod:
-
<!-- TWO STEPS TO INSTALL LOADING TIME INDICATOR:
1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of your HTML document -->
<HEAD>
<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> </HEAD>
<!-- STEP TWO: Copy this code into the BODY of your HTML document -->
<BODY>
<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>
<p><center> <font face="arial, helvetica" size"-2">Free JavaScripts provided<br> by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center><p>
<!-- Script Size: 1.14 KB --> | |
|