W3School TIY
(请在下面的文本框中编辑您的代码,然后单击此按钮测试结果。)
编辑您的代码:
<!DOCTYPE html> <html> <body> <p>请把鼠标移动到图像上,看一下状态栏的坐标如何变化。</p> <a href="javascript:if(confirm('http://w3school.com.cn/example/html/html_ismap.html \n\n文件并未加载在此文档,因为 它无法取得,或著它取回后放弃,或是项目停止的太快。 \n\n你要从服务器上打开它吗?'))window.location='http://w3school.com.cn/example/html/html_ismap.html'" tppabs="http://w3school.com.cn/example/html/html_ismap.html"> <img src="../i/eg_planets.jpg" tppabs="http://w3school.com.cn/i/eg_planets.jpg" ismap /> </a> </body> </html>
查看结果: