Warning: Use of undefined constant z - assumed 'z' (this will throw an Error in a future version of PHP) in /home/yudansnet8/domains/yudans.net/public_html/old4/html/code.php on line 98

Warning: Use of undefined constant num - assumed 'num' (this will throw an Error in a future version of PHP) in /home/yudansnet8/domains/yudans.net/public_html/old4/html/code.php on line 98

Warning: Use of undefined constant num - assumed 'num' (this will throw an Error in a future version of PHP) in /home/yudansnet8/domains/yudans.net/public_html/old4/html/code.php on line 98

Warning: Use of undefined constant z - assumed 'z' (this will throw an Error in a future version of PHP) in /home/yudansnet8/domains/yudans.net/public_html/old4/html/code.php on line 99

Warning: Use of undefined constant num - assumed 'num' (this will throw an Error in a future version of PHP) in /home/yudansnet8/domains/yudans.net/public_html/old4/html/code.php on line 99

Warning: Use of undefined constant num - assumed 'num' (this will throw an Error in a future version of PHP) in /home/yudansnet8/domains/yudans.net/public_html/old4/html/code.php on line 99
魚蛋村 - HTML 教學
村長fb!
此乃舊版魚蛋村,訪客請【按此到新版魚蛋村】繼續瀏覽
魚蛋村 yudansHTML 區HTML 範例 → 影像地圖

影像地圖

  • Internet Explorer 6.0
  • Internet Explorer 7.0
  • Internet Explorer 8.0
  • Mozilla Firefox 2.0
  • Mozilla Firefox 3.0
  • Google Chrome
  • Safari 3.1
  • Opera 9.5
  • 語法介紹 Introduction:
  • 影像地圖 - 為單一圖片中不同範圍加上不同的超連結
  • 語法總長度:352 字元
  • 範例 Example:
  • example
  • 請將以下程式碼貼到<body>與</body>之間:
<map id="villager" name="villager">
<area shape="rect" coords="(請參考矩形格式)" href="連結地址" alt="" />
<area shape="circle" coords="(請參考圓形格式)" href="連結地址" alt="" />
<area shape="poly" coords="(請參考多角形格式)" href="連結地址" alt="" />
</map><img src="圖片網址" alt="example" usemap="#villager" />
  • 可修改的地方 Modify:
  • 矩形格式:矩形右上角X像素點,矩形右上角Y像素點,矩形左下角X像素點,矩形左下角Y像素點 (例子:12,7,68,61)
    圓形格式:圓心X像素點,圓心Y像素點,圓半徑長度 (例子:129,36,30)
    多角形格式:角1的X像素點,角1的Y像素點, ..... ,角n的X像素點,角n的Y像素點 (例子:182,33,196,15,243,13,256,31,220,70)
  • 如要增加影像地圖,需同時修改程式內的 villager 為另一組英文字
魚蛋村,語法,圖片,素材,下載,琴譜,字型,教學,網頁製作,網頁教學,表情符號,程式,yudan,yudans,yudan village,javascript,cgi,php,msn,css,html,w3c,teach
footer