htmlmap樣式(html usemap)
0,110,260quot href =quot2htmlquotltmapltimg 中的 usemap=quot#map1quot 是要使用的映射的名稱或 ID,對(duì)應(yīng) ltmap 中的 name=“map1” 或 id=“map1”,但前面要加一個(gè)“#”至于 ltmap 的 name 和 id。
如果需要發(fā)生改變熱點(diǎn)區(qū)域顏色,那是沒(méi)有好辦法的,但是有巧辦法,利用JavaScript來(lái)改變圖片,使用onmouseover事件和onmouseout事件在改變圖片的src 例子ltimg src=quotheaderjpgquot width=quot800quot height=quot202quot border=quot0quot usemap=。
掃描二維碼推送至手機(jī)訪問(wèn)。
版權(quán)聲明:本文由飛速云SEO網(wǎng)絡(luò)優(yōu)化推廣發(fā)布,如需轉(zhuǎn)載請(qǐng)注明出處。