快捷导航

JS计时器自动执行,求改代码

倒计时玩玩                                                                                                                10            
                                                                           
               
                                        @charset "utf-8";#div1{           width: 270px;           height: 270px;           padding: 15px;           color: white;           font-weight: bolder;           font-size: 128px;           background: deeppink;           text-align: center;           line-height: 270px;     }#div2{           width:300px;           height: 60px;           text-align: center;           line-height: 60px;           margin: 0px;           background: #DCDCDC;     }.button{           width: 100px;           height: 30px;           border: none;           display: inline-block;           box-shadow: 3px 3px 3px #000000;           background: darkorange;}.button:hover{background: crimson;color: white;}哪个大哥能帮忙改下代码啊,计时器为什么会自动执行呢?

免责声明:本内容仅代表回答者见解不代表本站观点,请谨慎对待。

版权声明:作者保留权利,不代表本站立场。

回复

使用道具 举报

参与会员1

varj=setInterval("showDefault()",1000);这句就是执行的意思。
回复

使用道具 举报

可能感兴趣的问答

发新帖
  • 微信访问
  • 手机APP