title da saat dinamik saat görünsün

Javascript kodları title da saat dinamik saat görünsün Hazır program kodları hakkında bilgi paylaş; HTML-Kodu: <!-- THREE STEPS TO INSTALL TITLE BAR CLOCK: 1. Copy the coding into the HEAD of your HTML ...
Cevapla
WebMasTer SiTeSi
 
Seçenekler
  #1  
Arama 26-11-2007, 12:31
banias - ait Kullanıcı Resmi (Avatar)
Pseudo Coder
Üyelik Tarihi: 23/08/07
Mesajlar: 1.177
 
     WS-Ticareti: (2)
Blog Yazıları: 2
Teşekkürleri: 9
100 Msg. 180 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

title da saat dinamik saat görünsün

HTML-Kodu:
<!-- THREE STEPS TO INSTALL TITLE BAR CLOCK:

  1.  Copy the coding into the HEAD of your HTML document
  2.  Add the onLoad event handler into the BODY tag
  3.  Put the last coding into the BODY of your HTML document  --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document  --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Original:  Alex Jarvis ( ) --> <!-- Begin
function clock() {
var date = new Date()
var year = date.getYear()
var month = date.getMonth()
var day = date.getDate()
var hour = date.getHours()
var minute = date.getMinutes()
var second = date.getSeconds()
var months = new Array("", "JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC")

var monthname = months[month]

if (hour > 12) {
hour = hour - 12
}

if (minute < 10) {
minute = "0" + minute
}

if (second < 10) {
second = "0" + second
}


document.title = "JSS - " + monthname + " " + day + ", " + year + " - " + hour + ":" + minute + ":" + second

setTimeout("clock()", 1000)

}
//  End --> </script> </HEAD> <!-- STEP TWO: Insert the onLoad event handler into your BODY tag  --> <BODY onLoad="clock()"> <!-- STEP THREE: Copy this code into the BODY of your HTML document  -->

The script is running in the title bar!!

<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.53 KB -->
__________________
| | |
| |
|
|
|
Alıntı ile Cevapla
Cevapla
Arama Etiketleri: , , ,



Seçenekler


Benzer Konular
Konu Konu Açanlar Forum Cevaplar Güncel Mesajlar
Takvim ve saat...... Miliotta Html kodları 3 01-08-2008 12:01
Alarmlı Saat Celebrian Visual Basic & Action script 0 24-12-2007 12:13
Bar ile saat banias Javascript kodları 0 25-11-2007 11:44
alarmlı saat banias Javascript kodları 0 25-11-2007 11:43
12/24 saat yazdırma banias Javascript 0 25-11-2007 11:27


Webmaster web tasarım online reviews ~ Kadınlar blogu ~ Apple iPhone, iPod Touch ( iTouch ) Forum ~ iPhone