當(dāng)前位置:首頁(yè)
> html點(diǎn)擊圖片放大還原
html點(diǎn)擊圖片放大還原(html圖片怎么縮放不變形)
1、分別寫一個(gè)onmouseover和onmouseout事件然后在事件里面加一個(gè)function,分別寫想要放大的尺寸和縮小或復(fù)原的尺寸具體代碼實(shí)現(xiàn)如下ltimg id=quotimgquot onmouseover=quotbiggerquot onmouseout=quotsmallerquo...