最新回答 / 慕莱坞833307
clearInterval(This.time);-->在前;This.time=setInterval(function(){ -->在后先定义才行吧
2018-01-27
JavaScript是非常强大,也是必须学的,如今老师只是领进门而已。不会用JavaScript实现该效果的,可以试试用CSS来实现,不要仅仅局限在语言上。可以来围观我的一些总结,2018,大家加油啊。地址:https://github.com/CruxF/IMOOC/tree/master/HTML_CSS
2018-01-11
练习的时候可以模仿老师,然后再根据自己的理解重新写一套实现方法就好了嘛。说再多都不如动动手指,欢迎来围观,欢迎来批评,求大腿抱。地址:https://github.com/CruxF/IMOOC/tree/master/HTML_CSS
2018-01-11
这种实现方法其实已经过时了,可以来看看我的简单分析。地址:https://github.com/CruxF/IMOOC/tree/master/HTML_CSS
2018-01-11
超级老视频啦,不过还是有很多看点的,可以来看看我的总结。地址:https://github.com/CruxF/IMOOC/tree/master/HTML_CSS
2018-01-11
<script>
var aA=document.getElementsByTagName("a")
for(var i=0;i<aA.length;i++){
aA[i].onmousemove=function(){
this.style.width=140+"px"
this.style.transition="all,1s"}
aA[i].onmouseout=function(){
this.style.width=100+"px"
this.style.transition="all,1s"}
}
</script>
var aA=document.getElementsByTagName("a")
for(var i=0;i<aA.length;i++){
aA[i].onmousemove=function(){
this.style.width=140+"px"
this.style.transition="all,1s"}
aA[i].onmouseout=function(){
this.style.width=100+"px"
this.style.transition="all,1s"}
}
</script>
2018-01-06