RcBuilder@walla.com
call centre: 054-5614020

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

custom input file

Posted by: RcBuilder  /   Category: button / CSS / file / getElementById / HTML / image / JAVASCRIPT   /   No Comments
05
Oct
2014

custom input file - css trick logic : due to security issues, the client MUST perform the actual click on the input file, so we located our custom button/image at the very exact position as the actual input file at the same sizes and decrease the opacity to 0 in order to hide the actual input file. concern to.

Read more

asp.Net validators – custom code

Posted by: RcBuilder  /   Category: getElementById / HTML / Validators   /   No Comments
28
Sep
2014

asp.Net validators - custom code asp.Net validators: * Page_Validators // return all the client page validators * Page_Validators // return single validator by index * validator properties: controltovalidate isvalid ... * ValidatorOnSubmit() // return true/false indicates if the current page is valid * example : // add border to each input failed to validate function WebForm_OnSubmit() { if (typeof (ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false).

Read more
30
Jul
2014

javascript Request object interface Request.Cookies.Set Request.Cookies.Get Request.Cookies.Clear Request.QueryString.Get Source Code var Request = { Cookies: { Set: function (cookie_name, cookie_value, expires_in_days) { try { var cookie_full_value = escape(cookie_value); if (expires_in_days != null) { var exdate = new Date(); exdate.setDate(exdate.getDate() + expires_in_days); cookie_full_value += '; expires=' + exdate.toUTCString(); } document.cookie = cookie_name + '=' + cookie_full_value; } catch (e) { } }, Get: function (cookie_name) { var i, x, y, ARRcookies = document.cookie.split(';'); for (i = 0; i <.

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
  • פיתוח מערכות
  • פתרונות טכנולוגים
  • קידום אתרים
  • בניית אתרים