listscript cgi id=29




Helion dhtml site



// This script is written by Patrick Meirmans
// If you want to use it, send me an e-mail at mijter@dds.nl
// and be sure to include your URL, I'ld like to see how you used it
// If you have mailed me you are free to change this script
// anyway you like
// by the way, my homepage is at:
// http://www.geocities.com/Nashville/2956/
// You might want to take a look at it.


//skrypt pochodzi z zasobów
//www.dhtml.helion.pl

startday = new Date();
clockStart = startday.getTime();
function initStopwatch()
{
var myTime = new Date();
var timeNow = myTime.getTime();
var timeDiff = timeNow - clockStart;
this.diffSecs = timeDiff/1000;
return(this.diffSecs);
}
function getSecs()
{
var mySecs = initStopwatch();
var mySecs1 = ""+mySecs;
mySecs1= mySecs1.substring(0,mySecs1.indexOf("."));
document.tijd.hiero.value=mySecs1
window.setTimeout('getSecs()',1000);
if (mySecs1==60) {alert("Jesteś tutaj juz minutę :) ...") }
if (mySecs1==333) {alert("Jesteś tutaj już 333 sekundy...") }
if (mySecs1==666) {alert("Jesteś tutaj już 666 sekund ...") }
if (mySecs1==3600) {alert("To już godzina! Śpisz?") }
}
// To get rid of the alerts, you can just delete the three lines above
// or just one or two of them
// Change the 333, 666 and 999 to whatever you like
// For the messages, just change the text between the " "
// to whatever you like,
// Have fun!!






Czas wizyty...[strona główna] [skrypty]

Uwaga! Strona musi mieć z znaczniku BODY funkcje OnLoad=window.setTimeout('getSecs()',1)
Jesteś tutaj już przez:


sekund.



<script>

// This script is written by Patrick Meirmans
// If you want to use it, send me an e-mail at mijter@dds.nl
// and be sure to include your URL, I'ld like to see how you used it
// If you have mailed me you are free to change this script
// anyway you like
// by the way, my homepage is at:
// http://www.geocities.com/Nashville/2956/
// You might want to take a look at it.


//skrypt pochodzi z zasobów
//www.dhtml.helion.pl

startday = new Date();
clockStart = startday.getTime();
function initStopwatch()
{
var myTime = new Date();
var timeNow = myTime.getTime();
var timeDiff = timeNow - clockStart;
this.diffSecs = timeDiff/1000;
return(this.diffSecs);
}
function getSecs()
{
var mySecs = initStopwatch();
var mySecs1 = ""+mySecs;
mySecs1= mySecs1.substring(0,mySecs1.indexOf("."));
document.tijd.hiero.value=mySecs1
window.setTimeout('getSecs()',1000);
if (mySecs1==60) {alert("Jesteś tutaj juz minutę :) ...") }
if (mySecs1==333) {alert("Jesteś tutaj już 333 sekundy...") }
if (mySecs1==666) {alert("Jesteś tutaj już 666 sekund ...") }
if (mySecs1==3600) {alert("To już godzina! Śpisz?") }
}
// To get rid of the alerts, you can just delete the three lines above
// or just one or two of them
// Change the 333, 666 and 999 to whatever you like
// For the messages, just change the text between the " "
// to whatever you like,
// Have fun!!

</script><form name="tijd"><P>
<center>Jesteś tutaj już przez:
<br>
<input size=4 name=hiero>
<br>sekund.
</form>© Wydawnictwo Helion


Wyszukiwarka

Podobne podstrony:
listscript cgi id=48
listscript cgi id=33
listscript cgi id=40
listscript cgi id=6
listscript cgi id=24
listscript cgi id=38
listscript cgi id=25
listscript cgi id=20
listscript cgi id=47
listscript cgi id=15
listscript cgi id=49
listscript cgi id=39
listscript cgi id=36
listscript cgi id=51
listscript cgi id=12
listscript cgi id=30
listscript cgi id=26

więcej podobnych podstron