16:33:16
, 03.04.2026, Пятница
Новости Галерея Реклама Поиск RSS
SEO sprint - Всё для максимальной раскрутки!
  • Страница 1 из 1
  • 1
До нового года осталось XXXX
Дата: Воскресенье, 12.12.2010, 14:52:52 | Сообщение # 1
Аватарка DRAGON1998
OFF
Пользователь
43Сообщения:
ICQ пользователя:
Привет всем! Вот решил переделать, может быть обладателям жёлтых дизайнов понравится этот скрипт. smile
[spoiler="Скрин"][/spoiler]

Code
</script></div><div align="center" ><FONT color="#c9a82f">До Нового Года Осталось:</FONT></div><br>   
<div id='x1' ></div>   
<div align="center" ><script Language="javascript">   
var timeStr, dateStr, ostStr, x;   
function clock() {   
now= new Date();   
ex = new Date(2011,0,1,0,0,0);   
hours= now.getHours();   
minutes= now.getMinutes();   
seconds= now.getSeconds();   
timeStr= "" + hours;   
timeStr+= ((minutes < 10) ? ":0" : ":") + minutes;   
date= now.getDate();   
month= now.getMonth()+1;   
year= now.getYear();   
dateStr= "" + date;   
dateStr+= ((month < 10) ? "/0" : "/") + month;   
dateStr+= "/" + year;   
ostStr= "";   
x = (ex.getTime() - now.getTime())/1000;   
ostStr = Math.floor(x/60/60) + ' ч. ';   
ostStr = ostStr + Math.floor((x/60/60 - Math.floor(x/60/60))*60) + ' мин. ';   
x = (((x/60/60 - Math.floor(x/60/60))*60) - Math.floor((x/60/60 - Math.floor(x/60/60))*60))*60;   
ostStr = ostStr + Math.floor(x) + ' сек. ';   
document.getElementById('x1').innerHTML = '<DIV align="center"><FONT color="#c9a82f">Час | Мин | Сек</FONT></DIV> ' + '' + ostStr;   
Timer= setTimeout("clock()",10);   
}   
clock();   
</script> <br>   

</div>
Дата: Среда, 15.12.2010, 15:15:56 | Сообщение # 2
Аватарка Best_Gamer
OFF
Пользователь
ICQ пользователя:
Skype пользователя:
Сайт пользователя:
[table]спасибо! happy [/table]
  • Страница 1 из 1
  • 1
Поиск: