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

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

求大神們看看這段編的問題出在哪里?

求大神們看看這段編的問題出在哪里?

jeck貓 2018-08-18 14:13:04
<!DOCTYPE html><html><head><style type="text/css">    #div1 div{width: 200px; height: 300px; display: none; background: grey;}    .active{background: yellow;}</style><script type="text/javascript">window.onload=function () {    var oDiv=document.getElementById('div1');    var iBut=oDiv.getElementsByTagName('input');    var aDiv=oDiv.getElementsByTagName('div');    for(i in iBut)    {        iBut[i].index=i;        iBut[i].onclick=function()        {            for(i in iBut)                {                    iBut[i].className="";                aDiv[i].style.display="none";                }            this.className="active";            aDiv[this.index].style.display="block";        }    }}</script></head><body><div id="div1">    <input type="button" value="教育">    <input type="button" value="培訓(xùn)">    <input type="button" value="招生">    <input type="button" value="出國">    <div style="display:block">1111</div>    <div>2222</div>    <div>3333</div>    <div>4444</div></div></body></html>
查看完整描述

1 回答

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

添加回答

舉報(bào)

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號(hào)

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