Warning: file(template/altavista/footer.html) [function.file]: failed to open stream: No such file or directory in /home/megaskrypty/public_html/review.php on line 216

Warning: implode() [function.implode]: Bad arguments. in /home/megaskrypty/public_html/review.php on line 216
Zegar na pasku stanu - Pełny opis
Strona główna Dodaj Nowe Promowane Słowa kluczowe Najlepsze skrypty Mapa strony

 Zaawansowane

Dzisiaj dodane:      Dodane w ostatnie 3 dni:      Nowości w tym tygodniu:      Starsze niż 7 dni: 

 Katalog webmastera -> -> JavaScript -> Skrypty -> Data i czas


 Tytuł  Zegar na pasku stanu
Przegląd głosów
1 2 3 4 5 6 7 8 9 10
 URL  http://www.megaskrypty.com
 Głosuj  Ilość głosów : 2, Średnia : 8.00
 Data dodania  07-07-2004
 ETC   Odsłon : 1388, Wizyt : 1834, Komentarz : 0
 
Skrypt wy?wietla zegarek z dodatkowym tekstem na pasku statusu przegl?darki. Dodatkowo w Body na le?y umie?ci?: <body onLoad="startclock();">

<!-- This is a clock that shows the system time -->
<SCRIPT LANGUAGE="JavaScript">
var timerID = null;
var timerRunning = false;
function stopclock ()
{
if(timerRunning)
clearTimeout(timerID);
timerRunning = false;
}

function showtime ()
{
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds()

var timeValue = "Jest godzina " + ((hours >12) ? hours -12 :hours)
timeValue += ((minutes < 10) ? ":0" : ":") + minutes
timeValue += ((seconds < 10) ? ":0" : ":") + seconds
timeValue += (hours >= 12) ? " po po?udniu" : " przed po?udniem"
window.status = timeValue;
timerID = setTimeout("showtime()",1000);
timerRunning = true;
}

function startclock ()
{
// Make sure the clock is stopped
stopclock();
showtime();
}

</SCRIPT>
<FORM NAME="clock" onSubmit="0">

</FORM>


 Nazwa  Głosuj  Data dodania  

  Brak komentarzy