NuMBuH3
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Sayfanın kaç saniyede oluşturulduğunu gösteren kod

Aşağa gitmek

Sayfanın kaç saniyede oluşturulduğunu gösteren kod Empty Sayfanın kaç saniyede oluşturulduğunu gösteren kod

Mesaj tarafından ©iv ©iv Perş. Mart 04, 2010 5:05 pm

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
Coder

Mesaj Sayısı : 20
Kayıt tarihi : 03/03/10
Reklam Alanı

Sayfa başına dön Aşağa gitmek

Sayfa başına dön


 
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz