Wybory

Jeśli masz jakieś pytania zadaj je tutaj, na pewno otrzymasz odpowiedź!

Re: Wybory

Postby Jan Dmowski y Potocki » 07 Sep 2009 20:38

Cysosz, fajny pomysł, czemu nie!
Pozdrawiam, Jan Dmowski y Potocki,
Prezydent RSiT
User avatar
Jan Dmowski y Potocki
Prezydent
 
Posts: 3184
Joined: 30 Mar 2009 20:48
Location: Kraków/Warszawa

Re: Wybory

Postby Cysosz Zenek » 07 Sep 2009 21:14

Skrypt wygląda tak:
<strong>
<script>
<!--
/*
Count down until any date script-
By Website Abstraction (www.wsabstract.com)
Over 200+ free scripts here!
*/


//change the text below to reflect your own,
var before="do wyborów na urząd Prezydenta IV kadencji!"
var current="WYBORY"
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function countdown(yr,m,d){
var today=new Date()
var todayy=today.getFullYear()
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var futurestring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)
if (difference==0)
document.write(current)
else if (difference>0)
document.write("Zostało ok "+difference+" dni "+before)
}
//enter the count down date using the format year/Reymont/day
countdown(2009,12,03)
//-->
</script><br>
<script>
<!--
/*
Count down until any date script-
By Website Abstraction (www.wsabstract.com)
Over 200+ free scripts here!
*/


//change the text below to reflect your own,
var before="!"
var current="WYBORY"
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")

function countdown(yr,m,d){
var today=new Date()
var todayy=today.getFullYear()
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var futurestring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round((Date.parse(futurestring)-Date.parse(todaystring))/(24*60*60*1000))*1)
if (difference==0)
document.write(current)
else if (difference>0)
document.write("Wybory do sejmu IV kadencji odbędą się za ok "+difference+" dni "+before)
}
//enter the count down date using the format year/Reymont/day
countdown(2009,10,09)
//-->
</script></strong>
mar. Cysosz kaw. Zenek
16 IV 2006 - 25 V 2010
Cysosz Zenek
Obywatel
 
Posts: 4581
Joined: 17 Feb 2009 18:16

Re: Wybory

Postby Jan Dmowski y Potocki » 07 Sep 2009 21:17

Pozdrawiam, Jan Dmowski y Potocki,
Prezydent RSiT
User avatar
Jan Dmowski y Potocki
Prezydent
 
Posts: 3184
Joined: 30 Mar 2009 20:48
Location: Kraków/Warszawa

Re: Wybory

Postby Henrikas Daktaras » 26 Jan 2010 15:42

Dobra nazwa tematu, dlatego pytam: czy jeżeli żaden kandydat na prezydenta nie otrzyma 50%, będzie II tura, czy wystarcza zwykłej większości?
Шо?

VWLWXOEADKVRFXWRAZVRMYBBYCYCYTVBBGJB - na standartowych warunkach
User avatar
Henrikas Daktaras
Obywatel
 
Posts: 1746
Joined: 01 Mar 2009 10:39

Re: Wybory

Postby Marcel Hans » 26 Jan 2010 22:08

Zwykła ;)
Marcel v-hr. Hans
- I Prezydent Rzeczpospolitej!

Śmierć jest życiem, a życie śmiercią......
User avatar
Marcel Hans
Członek SPP
 
Posts: 8061
Joined: 23 Feb 2009 14:28
Location: Rottera/ Śląsk

Previous

Return to Pytania i odpowiedzi

Who is online

Users browsing this forum: No registered users and 2 guests