<h3>浠ヤ笅瀹炰緥婕旂ず浜嗗浣曡闂? MAP 鍏冪礌</h3> <img src="/upload2planets.gif" width="145" height="126" alt="Planets" usemap="#myMap"> <map id="myMap" name="myMap"> <area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm"> <area shape="circle" coords="90,58,3" alt="Mercury" href="mercur.htm"> <area shape="circle" coords="124,58,8" alt="Venus" href="venus.htm"> </map> <p>鐐瑰嚮鎸夐挳鏉ヨ幏鍙栧浘鍍忓湴鍥句腑 area 鍏冪礌鐨勬暟鐩EUR?lt;/p> </p><p id="demo"></p> <button onclick="myFunction()">鐐规垜</button> <script> function myFunction() { var x = document.getElementById("myMap").areas.length; document.getElementById("demo").innerHTML = x; } </script>