Skip to content

Instantly share code, notes, and snippets.

Created July 4, 2017 08:01
Show Gist options
  • Select an option

  • Save anonymous/12e6634cfc1b80eae04bc505fe94e51e to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/12e6634cfc1b80eae04bc505fe94e51e to your computer and use it in GitHub Desktop.
LLmJqM
<div id="bir">
</div>
<div id="iki">
</div>
function timer(){
document.getElementById("iki").innerHTML="Selector yakalama çalışıyor";
document.getElementById("bir").innerHTML="De ye ulaşım sağlanıyor.";
var dt=new Date();
document.getElementById("bir").innerHTML=dt.getHours()+" : "+dt.getMinutes()+
": "+dt.getSeconds();
setTimeout(timer,500);
}
//new Date().getTime()
setTimeout(timer(),1000);
for(let i=14;i<144;i++){
setTimeout(timer,500);
if(i==140){
console.log("12");
}
}
#bir {
float:center;
font-size:20px;
margin:2px;
border-style:solid;
border-width:2px;
width:90px;
background-color:rgb(156,107,94);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment