$(document).ready(function(){ var da = new Date(); da.setHours(07,26,01);
//change this to very near time and elapse and check it var format='%M Dakika %S Saniye'; $('#clock').countdown(da) .on('update.countdown', function(event){ $(this).html(event.strftime(format)); }).on('finish.countdown',function(event){ var ev=event; console.log('here'); var ctrl=$(this); $(ctrl).html('This offer has expired!'); window.setTimeout(function(){ $('#clock').countdown (da.setHours(07,27,01)); },5000); $('#clock').countdown(da) .on('update.countdown', function(event){ $(this).html(event.strftime(format)); }).on('finish.countdown',function(event){ var ev=event; console.log('here'); var ctrl=$(this); $(ctrl).html('This offer has expired!'); window.setTimeout(function(){ $('#clock').countdown(da.setHours(08,40,01)); },5000);
}) }) });
kodlar çalışır durumda ama sayfayı yenilediğinde en son girilen zaman hata veriyor
DH forumlarında vakit geçirmekten keyif alıyor gibisin ancak giriş yapmadığını görüyoruz.
Üye olduğunda özel mesaj gönderebilir, beğendiğin konuları favorilerine ekleyip takibe alabilir ve daha önce gezdiğin konulara hızlıca erişebilirsin.
var da = new Date();
da.setHours(07,26,01);
//change this to very near time and elapse and check it
var format='%M Dakika %S Saniye';
$('#clock').countdown(da)
.on('update.countdown', function(event){
$(this).html(event.strftime(format));
}).on('finish.countdown',function(event){
var ev=event;
console.log('here');
var ctrl=$(this);
$(ctrl).html('This offer has expired!');
window.setTimeout(function(){
$('#clock').countdown (da.setHours(07,27,01));
},5000);
$('#clock').countdown(da)
.on('update.countdown', function(event){
$(this).html(event.strftime(format));
}).on('finish.countdown',function(event){
var ev=event;
console.log('here');
var ctrl=$(this);
$(ctrl).html('This offer has expired!');
window.setTimeout(function(){
$('#clock').countdown(da.setHours(08,40,01));
},5000);
})
})
});
kodlar çalışır durumda ama sayfayı yenilediğinde en son girilen zaman hata veriyor
DH forumlarında vakit geçirmekten keyif alıyor gibisin ancak giriş yapmadığını görüyoruz.
Üye Ol Şimdi DeğilÜye olduğunda özel mesaj gönderebilir, beğendiğin konuları favorilerine ekleyip takibe alabilir ve daha önce gezdiğin konulara hızlıca erişebilirsin.
< Bu mesaj bu kişi tarafından değiştirildi matador50 -- 1 Şubat 2018; 9:51:18 >