TwojePC.pl © 2001 - 2024
|
|
A R C H I W A L N A W I A D O M O Ś Ć |
|
|
|
Jak to jest zroione? , Emalia 22/03/10 12:39 http://www.zegardlugu.pl/- .:. , Shneider 22/03/10 12:41
tak
<script language="JavaScript">
function maind()
{
startdate = new Date()
now(startdate.getYear(),startdate.getMonth(),startdate.getDate(),startdate.getHours(),startdate.getMinutes(),startdate.getSeconds())
}
function ChangeValue(number,pv)
{
numberstring =""
var j=0
var i=0
while (number > 1)
{
numberstring = (Math.round(number-0.5) % 10) + numberstring
number= number / 10
j++
if (number > 1 && j==3) {
numberstring = " " + numberstring
j=0}
i++
}
numberstring=numberstring
if (pv==1) {document.getElementById("worldpop").innerHTML=numberstring }
}
function now(year,month,date,hours,minutes,seconds)
{
startdatum = new Date(year,month,date,hours,minutes,seconds)
var now = 672849683000.0
var now2 = 739849683000.0
var groeipercentage = (now2 - now) / now *100
var groeiperseconde = (now * (groeipercentage/100))/365.0/24.0/60.0/60.0
nu = new Date ()
schuldstartdatum = new Date (2010,1,1)
secondenoppagina = (nu.getTime() - startdatum.getTime())/1000
totaleschuld= (nu.getTime() - schuldstartdatum.getTime())/1000*groeiperseconde + now
ChangeValue(totaleschuld,1);
//ChangeValue(secondenoppagina*groeiperseconde,2);
timerID = setTimeout("now(startdatum.getYear() ,startdatum.getMonth(),startdatum.getDate(),startdatum.getHours(),startdatum.getMinutes(),startdatum.getSeconds())",200)
}
window.onload=maind
</script>.:: Live at Trance Energy ::. - BTW fajna strona, tylko zaniżają ... , Nebuchadnezzar 22/03/10 14:55
Pracujący Polak oddał Rządowi w podatkach... 2842 zł - skąd ta kwota, skoro oddajemy z jakieś 60% tego co zarobimy...dupa na stołku, morda przy korycie... |
|
|
|
|
All rights reserved ® Copyright and Design 2001-2024, TwojePC.PL |
|
|
|
|