RcBuilder@walla.com
call centre: 054-5614020

javascript CLOCK

Posted by: RcBuilder  /   Category: CSS / HTML / HTML 5 / JAVASCRIPT / jQuery / setTimeout / span   /   No Comments
09
Nov
2014

javascript CLOCK CLOCK CLASS function CLOCK(targetName, options) { var that = this; var time = new Date(); var target = $('#' + targetName); var intervalInSeconds = options.interval || 1; var autoStart = options.autoStart || true; if (options.startTime) SetTime(options.startTime); var timer = null; this.Start = Start; this.Stop = Stop; if (autoStart) Start(); function SetTime(startTime) { try{ var time_parts = startTime.split(':'); var hh = parseInt(time_parts); var mm = parseInt(time_parts); var ss = parseInt(time_parts); if (isNaN(hh) || isNaN(mm).

Read more

javascript CountDown clock

Posted by: RcBuilder  /   Category: body / Date / getElementById / HTML / innerHTML / JAVASCRIPT / onload event / setTimeout   /   No Comments
06
Oct
2014

javascript CountDown clock var obj,SumSeconds; function InitClock() { //18/06/2013 16:40:00.000 var TheDay = new Date(); TheDay.setFullYear(2013,06,18); TheDay.setHours(16,40,0,0); var Time = new Date(); // Now SumSeconds = 0; var Days = TheDay.getDate()-Time.getDate(); SumSeconds += Days*60*60*24; // day 2 seconds var Hours = TheDay.getHours()-Time.getHours(); SumSeconds += Hours*60*60; // hour 2 seconds var Minutes = TheDay.getMinutes()-Time.getMinutes(); SumSeconds += Minutes*60; // minute 2 seconds var Seconds = TheDay.getSeconds()-Time.getSeconds(); SumSeconds += Seconds; // seconds //alert(SumSeconds); ShowClock(); } function ShowClock() { var Minutes =.

Read more

Count Down clock javascript

Posted by: RcBuilder  /   Category: body / getElementById / HTML / innerHTML / JAVASCRIPT / onload event / setTimeout   /   No Comments
16
Jul
2014

Count Down clock javascript // this script will use the client clock to present a count down clock - tick each 1 seconds script var obj,SumSeconds; function InitClock() { var TheDay = new Date(); //TheDay.setFullYear(2013,10,13); TheDay.setHours(17,00,0,0); var Time = new Date(); // Now if (TheDay - Time < 0) return; SumSeconds = 0; var Days = TheDay.getDate()-Time.getDate(); SumSeconds += Days*60*60*24; // day 2 seconds var Hours = TheDay.getHours()-Time.getHours(); SumSeconds +=.

Read more
  • פיתוח מערכות
  • פתרונות טכנולוגים
  • קידום אתרים
  • בניית אתרים