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

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

為什么點擊鏈接頁面會跳轉(zhuǎn)到圖片啊

為什么點擊鏈接頁面會跳轉(zhuǎn)到圖片啊

qq_眉黛青山_0 2016-06-03 11:01:58
<!DOCTYPE?html> <html> <head> <meta?charset="UTF-8"> <title>Snapshots</title> </head> <script?type="text/javascript"> function?showPic(whichpic){ var?source?=?whichpic.getAttribute("href"); var?placeholder?=?docunment.getElementById('placeholder'); placeholder.setAttribute("src",source) var?text?=whichpic.getAttribute('title'); var?description?=?document.getElementById("description"); description.firstChild.nodeValue?=?text; } function?countBodyChildren(){ var?body_element?=?document.getElementsByTagName('body')[0]; } window.onload?=?countBodyChildren; </script> <body> <h1>Snapshots</h1> <ul> <li><a?href="img/1.jpg"?title="display"?onclick="showPic(this),return?false,"?>fireworks</a></li> <li><a?href="img/2.jpg"?title="coffee"?onclick="showPic(this),return?false,"?>Coffee</a></li> <li><a?href="img/3.jpg"?title="rose"?onclick="showPic(this),return?false,"?>Rose</a></li> <li><a?href="img/1.jpg"?title="clock"?onclick="showPic(this),return?false,"?>Big?Ben</a></li> </ul> <img?id="placeholder"?src="img/2.jpg"?style="width:?400px;height:?300px;"??alt="my?image?gallery"> <p?id="description">Choose?an?image.</p> </body> </html>當(dāng)我點擊鏈接的時候,會跳轉(zhuǎn)到圖片頁面 ?而不是在初始頁面下面的圖片欄顯示對應(yīng)圖片 ?為什么??
查看完整描述

2 回答

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

添加回答

舉報

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號

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