第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

JS 實現(xiàn)動畫菜單 為什么沒有效果啊 沒有JS 語法錯誤的啊

JS 實現(xiàn)動畫菜單 為什么沒有效果啊 沒有JS 語法錯誤的啊

isu_騰飛 2014-11-24 21:03:32
求老師幫忙看一下啊 ? ??....<!DOCTYPE?html> <html> <head> <meta?charset="utf-8"> <title>Document</title> <style?type="text/css"> ?.top-nav ?{ ??font-size:?14px; ??font-weight:?bold; ??list-style:?none; ?} ?.top-nav?li ?{ ??float:?left; ??margin-right:?1px; ?} ?.top-nav?li?a ?{ ??line-height:?34px; ??text-decoration:?none; ??background:?#3f240e; ??color:?#fff; ??display:?block; ??width:?80px; ??text-align:?center; ?} ?.top-nav?ul ?{ ??list-style:?none; ??display:?none; ??padding:?0; ??position:?absolute; ??height:?0; ??overflow:?hidden; ?} ?.top-nav?li?a:hover ?{ ??background:?url(pic/slide-bg0.png)?0?0?repeat-x; ?} ?.note? ?{ ??color:?#3f240e; ??display:?block; ??background:?url(pic/slide-bg0.png)?0?0?repeat-x; ?} ?.corner ?{ ??display:?block; ??height:?20px; ??background:?url(pic/corner.png)?31px?0?no-repeat; ?} </style> <script> window.onload?=?function?()?{ var?Lis?=?document.getElementsByTagName("li"); for?(var?i?=?0;??i?<?Lis.length?;?i++)?{ Lis[i].onmouseover??=?function?()?{ var?uL?=?this.getElementsByTagName("ul")[0]; u.style.display?=?"block"; if??(uL?!=?undefined)?{ u.style.display?=?"block"; AddH(uL.id); } } Lis[i].onmouseleave??=?function?()?{ var?uL?=?this.getElementsByTagName("ul")[0]; SubH(uL.id); } } } function?AddH?(id)?{ var?ulList?=?document.getElementById(id); var?h?=?ulList.offSetHeight; h?+=?1; if?(h<=42) { ulList.style.height?=?h?+?"px"; setTimeout("AddH('"+id+"')",?10); } else?{ return; } } function?SubH?(id)?{ var?ulList?=?document.getElementById(id); var?h?=?ulList.offSetHeight; h?-=?1; if?(h?>?0)?{ ulList.style.height?=?h?+?"px"; setTimeout("SubH('"+id+"')",?10); } else { ulList.style.display?=?"none"; return; } } </script> </head> <body> <ul> <li><a?href="#"><span>慕課網(wǎng)</span></a></li> <li><a?href="#">課程大廳</a></li> <li> <a?href="#">學(xué)習(xí)中心</a> <ul?id="menuUL"> <span></span> <li><a?href="#">前端課程?</a></li> <li><a?href="#">手機開發(fā)</a></li> <li><a?href="#">后臺開發(fā)</a></li> </ul> </li> <li><a?href="#">關(guān)于我們</a></li> </ul> </body> </html>....
查看完整描述

1 回答

?
豆芽_0007

TA貢獻(xiàn)1條經(jīng)驗 獲得超0個贊

往下我沒看 你這個u沒定義啊?

查看完整回答
反對 回復(fù) 2014-11-25
  • 1 回答
  • 0 關(guān)注
  • 1806 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號

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