Tuesday, March 4, 2014

, html , ? - ? ?


: #2 - : : 836 : 15.11.2008 . # 6 111
<html> <head> <title> </title> <script type="text/javascript"> var targetDate; function updateTimer() { now = new Date(); timer = document.getElementById('timer'); if(now.getTime() > targetDate.getTime()) timer.innerHTML = " !"; else { millis = targetDate.getTime() - now.getTime(); seconds = Math.floor(millis / 1000); minutes = Math.floor(seconds / 60); hours = Math.floor(minutes end / 60); days = Math.floor(hours / 24); h = hours - days * 24; if(h == 24) { h = 0; days++; } m = minutes - (days * 24 + h) * 60; if(m == 60) { m = 0; h++; if(h == 24) { h = 0; days++; } } s = seconds - ((days * 24 + h)*60 + m)*60; end if(s == 60) { s = 0; m++; if(m == 60) { m = 0; h++; if(h == 60) { h = 0; days++; } } } timer.innerHTML = days + " " + h + " " + m + " " + s + " "; setTimeout("updateTimer()", 1000); } } function init() { targetDate = new Date(); targetDate.setMonth(5); //0-11 targetDate.setDate(17); //0-30 targetDate.setFullYear(2011); targetDate.setHours(19); targetDate.setMinutes(30); targetDate.setSeconds(0); setTimeout("updateTimer()", 0); } </script> </head> <body onload="init()"> <div id="timer"> 0 0 0 0 </div> end </body> </html>
(eminem94 @ 29.05.2011 . 19:32 .)

, html , ? - ? ?
6.06.2011 . 13:16 .
  |-- Adobe   |----   |----   |----   |-- Corel   |-- end 3D   |--   |-- end   |--   |--   |-- HTML/CSS/JavaScript/VBScript   |-- PHP/Perl/Java/Python/ASP   |-- C / C++   |-- MySQL/Oracle/PostgreSQL/MSSQL   |-- .NET   |-- CMS   |-- SEO   |-- Microsoft   |---- Office   |-- Linux   |--   |--   |--   |--   |-- , (e-books, video trainings, tutorials & etc.)   |--   |---- -   |---- -   |---- -   |---- IT   |--   |----   |--   |-- .net   |-- ,  
Powered By IP.Board © 2014   IPS, Inc .

No comments:

Post a Comment