ImageMapster´Â HTML À̹ÌÁö ¸ÊÀÇ ¿µ¿ªÀ» È°¼ºÈÇϹǷΠ°Á¶ Ç¥½ÃÇÏ°í ¼±ÅÃÇÒ ¼ö ÀÖ½À´Ï´Ù.
¼öµ¿ Á¦¾î, µµ±¸ ¼³¸í, Å©±â Á¶Á¤ µîÀ»À§ÇÑ ´Ù¸¥ ¸¹Àº ±â´ÉÀÌ ÀÖ½À´Ï´Ù.
¸ðµç °øÅë Ç÷§Æû°ú ȣȯµÇµµ·Ï ¼³°èµÇ¾úÀ¸¸ç Internet Explorer 6-10, Firefox 3.0+, Safari, Opera ¹× Chrome¿¡¼ Å×½ºÆ®µÇ¾ú½À´Ï´Ù.
¸ð¹ÙÀÏ ÀåÄ¡¿¡¼ ÀÛµ¿Çϸç Flash¸¦ »ç¿ëÇÏÁö ¾Ê½À´Ï´Ù.
»ç¿ë¹ý ¾È³» ÀÔ´Ï´Ù.
¶óÀ̺귯¸®¸¦ È£Ãâ Çϼ¼¿ä.
<script language="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script language="text/javascript" src="jquery.imagemapster.min.js"></script>
º»¹®À» ±¸¼ºÇϼ¼¿ä.
<img id="usamap" src="map.jpeg" usemap="#usa">
<map name="usa">
<area data-key="maine,new-england,really-cold" shape="poly" coords="...">
<area data-key="new-hampshire,new-england,really-cold" shape="poly" coords="...">
<area data-key="vermont,new-england,really-cold" shape="poly" coords="...">
<area data-key="connecticut,new-england" shape="poly" coords="...">
<area data-key="rhode-island,new-england" shape="poly" coords="...">
<area data-key="massachusetts,new-england" shape="poly" coords="...">
<!-- more states... -->
</map>
À̹ÌÁö ¸ÊÀ» È°¼ºÈ Çϼ¼¿ä.
$('img').mapster();
½±°Ô »ç¿ëÇϱâ´Â ¾î·ÆÁö¸¸ ÀÀ¿ëÇϸé ÁÁÀ»µí ÇÕ´Ï´Ù.
ƯÈ÷ Áöµµ¸¦ ÀÌ¿ëÇÏ¿© ¼ºñ½º¸¦ Á¦°øÇÏ°í ½ÍÀº ºÐÀ̶ó¸é »ç¿ëÇØ º½Á÷ÇÑ ±â´ÉÀÔ´Ï´Ù.
¿ø »çÀÌÆ®¿¡°¡¸é ´Ù¾çÇÑ ¿É¼Ç ¾È³»¿Í »ùÇà ¹× ±â´É¾È³»°¡ ´õ »ó¼¼È÷ µÇ¾î ÀÖ½À´Ï´Ù.
²À Âü°íÇÏ¿© »ç¿ëÇϽñ⠹ٶø´Ï´Ù.
http://www.outsharked.com/imagemapster/
|