最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

請(qǐng)教大神這個(gè)js導(dǎo)航欄變寬哪里出錯(cuò)了?跪謝!

請(qǐng)教大神這個(gè)js導(dǎo)航欄變寬哪里出錯(cuò)了?跪謝!

<title>導(dǎo)航菜單</title><style type="text/css">? ? *{margin:0;padding:0;font-size:14px;}? ? a{color:#333;text-decoration:none;}? ? ul{list-style:none;height:30px;border-bottom:5px solid #F60;margin-top:20px;padding-left:50px;}? ? ul li{float:left;}? ? ul li a{text-align:center;display:block;background:#efefef;height:30px;width:120px;line-height:30px;margin-left:1px;}? ? a.on, a:hover{background:#f60;color:#fff;}</style><script>?window.onload=function(){? ? var aA=document.getElementsByTagName("a");? ? aA[i].timer=null;? ? for(var i=0;i<aA[i].length;i++){? ? ? ? aA[i].onmouserover=function(){? ? ? ? ? ? startMove(this,160);? ? ? ? }? ? ? ? ?aA[i].onmouserout=function(){? ? ? ? ? ? startMove(this,120);? ? ? ? }? ? }};function startMove(obj,iTarget){? ? ?var aA=document.getElementsByTagName("a");? ? ? ? ? clearInterval(obj.timer);obj.time=setInterval(function(){? ? ?var speed=(iTarget-obj.offsetWidth)/6;? ? ? ? ?speed=speed>0?Math.ceil(speed):Math.floor(speed);? ? ?if(obj.offsetWidth==iTarget){? ? ? ? ?clearInterval(obj.timer);? ? ?}? ? ?else{obj.style.width=obj.offsetWidth+speed+"px";}},30);};</script><body><ul>? ? <li ><a class="on" href="#">首 頁</a></li>? ?<li><a href="#">新聞快訊</a></li>? ?<li><a href="#">產(chǎn)品展示</a></li>? ? <li><a href="#">售后服務(wù)</a></li>? ? <li><a href="#">聯(lián)系我們</a></li></ul></body></html>
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 1183 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)