We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<script> //鼠标经过颜色改变 function show1() { var qw =document.getElementById("box1") qw.style.background = "wheat"; } function back1() { var qw =document.getElementById("box1") qw.style.background = "pink"; } //定时器红绿灯 var n=setInterval(function(){ var dom=document.getElementById('box2'); var clr=dom.style.background; if(clr=='red'){ dom.style.background='green'; } else{ dom.style.background='red'; } },500) //定时器红绿黄灯 var n=setInterval(function(){ qiehuan(); },1500) var qiehuan=function(){ var dom=document.getElementById('box3'); var clr=dom.style.background; dom.style.background='yellow'; setTimeout(function(){ if(clr=='red'){ dom.style.background='green'; } else{ dom.style.background='red' } },500); } </script>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: