javascript ile sayfada geçirilen zamanı hesaplayan kod

Javascript kodları javascript ile sayfada geçirilen zamanı hesaplayan kod Hazır program kodları hakkında bilgi paylaş; HTML-Kodu: <!-- Paste this code into an external JavaScript file named: timePage.js --> /* This script and many more ...
Cevapla
 
Seçenekler
  #1  
Arama 25-11-2007, 11:32
banias - ait Kullanıcı Resmi (Avatar)
Pseudo Coder
Üyelik Tarihi: 23/08/07
Mesajlar: 1.209
 
     WS-Ticareti: (2)
Blog Yazıları: 2
Teşekkürleri: 9
88 Msg. 154 Tşkr.
Rep Gücü: 100 banias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud ofbanias has much to be proud of

javascript ile sayfada geçirilen zamanı hesaplayan kod

HTML-Kodu:
<!-- Paste this code into an external JavaScript file named: timePage.js  -->

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Cody Shaffer :: http://codytheking313.byethost11.com */

var time=1;

function timeHere() {
  time = time + 1;
  finalTime = time / 10;
/* Remove the "//" below to display in the title bar
  the amount of time the visitor has been on the site.
  Be aware though, that it does tend to be a bit distracting. */
// document.title = finalTime+" seconds you been here for!";
}

function sayTime() {
  finalTime = time / 10;
  alert("Thank you for coming to my site! \n You have been here " + finalTime + " seconds!");
}



<!-- Paste this code into the HEAD section of your HTML document.
     You may need to change the path of the file.  --> <script type="text/javascript" src="timePage.js"></script> <!-- Paste this code into the BODY tag --> <body onload='window.setInterval("timeHere()", 100)' onunload="sayTime()"> 
__________________
| | |
| |
|
|
|
Alıntı ile Cevapla
Cevapla


Seçenekler


Benzer Konular
Konu Konu Açanlar Forum Cevaplar Güncel Mesajlar
Zico için veda zamanı ! cunobag Spor 0 18-06-2008 01:21
sayfa kaç gün önce açılmış onu hesaplayan kod banias Javascript kodları 1 30-12-2007 10:29
javascript ile sayfada tarih gösterme banias Javascript kodları 1 25-11-2007 10:51
(javascript) sayfada matrix kodları banias Javascript kodları 0 22-11-2007 11:34
İnternet'te sıkıyönetim zamanı kadınca Network-internet 0 06-11-2007 03:55

Link vermek için alttaki kodu sitenize ekleyebilirsiniz. Veya Ctrl+C ile Kopyalayınız
Örnek görünüm: Webmaster Sitesi