Sayfanın kaç saniyede oluşturulduğunu gösteren kod
NuMBuH3 :: Script Kod :: HTML Kodları
1 sayfadaki 1 sayfası
Sayfanın kaç saniyede oluşturulduğunu gösteren kod
- Kod:
<div align="center"><!-- 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('Bu sayfa <span id="endTime">0.0</span> sürede oluşturuldu..');
var loopTime=setInterval("currentTime()",100);
// End -->
</script>
<!-- Script Size: 1.14 KB -->
©iv ©iv- Coder
- Mesaj Sayısı : 20
Kayıt tarihi : 03/03/10
NuMBuH3 :: Script Kod :: HTML Kodları
1 sayfadaki 1 sayfası
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz