초보적인 질문인지 몰라도 설명 부탁드립니다. 정보
초보적인 질문인지 몰라도 설명 부탁드립니다.본문
<map name="bottom">
<area shape="rect" coords="11,4,72,33" href="<?=$g4[shop_path]?>/content.php?co_id=provision" onFocus="this.blur()">
<area shape="rect" coords="137,4,202,34" href="<?=$g4[shop_path]?>/faq.php" onFocus="this.blur()">
<area shape="rect" coords="258,6,365,36" href="<?=$g4[shop_path]?>/content.php?co_id=privacy" onFocus="this.blur()">
<area shape="rect" coords="431,3,528,39" href="<?=$g4[bbs_path]?>/board.php?bo_table=request" onFocus="this.blur()">
<area shape="rect" coords="585,3,700,36" href="<?=$g4[bbs_path]?>/board.php?bo_table=request" onFocus="this.blur()">
<area shape="rect" coords="753,5,849,33" href="<?=$g4[bbs_path]?>/board.php?bo_table=request" onFocus="this.blur()">
<area shape="rect" coords="907,4,992,34" href="<?=$g4[bbs_path]?>/board.php?bo_table=request" onFocus="this.blur()">
</map>
위의 소스 중에서 숫자로 표시되어 있는것이 있는데요.
즉,,11,4,72,33 이라던가 137,4,202,34 등등...이렇게 숫자로 표시되어 있는것이 있습니다.
이것이 링크되는 부분을 말하는것 같은데.. 만약 페이지 상에서 이미지의 위치를 바꾸로 싶을 때는
이 숫자도 바꾸어야 겠지요..
그럼. 이 숫자는 어디에서 수정할 수 있는건가요? 이미지 위치를 잡고 그 이미지 위치의 숫자를 어디서 확인하고 수정할 수 있는지 알고 싶습니다.
꼭 부탁드립니다.
<area shape="rect" coords="11,4,72,33" href="<?=$g4[shop_path]?>/content.php?co_id=provision" onFocus="this.blur()">
<area shape="rect" coords="137,4,202,34" href="<?=$g4[shop_path]?>/faq.php" onFocus="this.blur()">
<area shape="rect" coords="258,6,365,36" href="<?=$g4[shop_path]?>/content.php?co_id=privacy" onFocus="this.blur()">
<area shape="rect" coords="431,3,528,39" href="<?=$g4[bbs_path]?>/board.php?bo_table=request" onFocus="this.blur()">
<area shape="rect" coords="585,3,700,36" href="<?=$g4[bbs_path]?>/board.php?bo_table=request" onFocus="this.blur()">
<area shape="rect" coords="753,5,849,33" href="<?=$g4[bbs_path]?>/board.php?bo_table=request" onFocus="this.blur()">
<area shape="rect" coords="907,4,992,34" href="<?=$g4[bbs_path]?>/board.php?bo_table=request" onFocus="this.blur()">
</map>
위의 소스 중에서 숫자로 표시되어 있는것이 있는데요.
즉,,11,4,72,33 이라던가 137,4,202,34 등등...이렇게 숫자로 표시되어 있는것이 있습니다.
이것이 링크되는 부분을 말하는것 같은데.. 만약 페이지 상에서 이미지의 위치를 바꾸로 싶을 때는
이 숫자도 바꾸어야 겠지요..
그럼. 이 숫자는 어디에서 수정할 수 있는건가요? 이미지 위치를 잡고 그 이미지 위치의 숫자를 어디서 확인하고 수정할 수 있는지 알고 싶습니다.
꼭 부탁드립니다.
댓글 전체

이미지맵소스군요..
1.2.3.4 이 형식이면 x.y.x.y 이렇게 됩니다.
앞에 두 xy는 왼쪽상단꼭지점,뒤에xy는 오른쪽하단꼭지점의 좌표를 나타내는것입니다.
1.2.3.4 이 형식이면 x.y.x.y 이렇게 됩니다.
앞에 두 xy는 왼쪽상단꼭지점,뒤에xy는 오른쪽하단꼭지점의 좌표를 나타내는것입니다.
이미지의 위치를 바꾸는건 이미지맵과 상관이 없습니다
단이미지의 가로세로 사이즈가 변한다면 이미지맵위치도 다시 잡아주셔야 합니다.
단이미지의 가로세로 사이즈가 변한다면 이미지맵위치도 다시 잡아주셔야 합니다.
쉬운방법은 포토샵으로 해당 이미지를 열어서 맵의 크기를 정해서 위치를 맞추신 다음 마우스를 왼쪽 꼭지점이랑 오른쪽하단 꼭지점에 올리시면 x y 위치의 값을 얻을수 있습니다.
계산방법은 예를 들어 이미지 파일의 제일 왼쪽을 기준으로 가로 200px 세로 30px 크기의 맵을 만든다면 0,0,200,30이 되겠지요.
이 기준으로 맵의 위치가 제일 왼쪽에서 오른쪽으로 20px 이동을 하면 20,0,220,30 등등 계산을 하시면 됩니다.
계산방법은 예를 들어 이미지 파일의 제일 왼쪽을 기준으로 가로 200px 세로 30px 크기의 맵을 만든다면 0,0,200,30이 되겠지요.
이 기준으로 맵의 위치가 제일 왼쪽에서 오른쪽으로 20px 이동을 하면 20,0,220,30 등등 계산을 하시면 됩니다.