물만난고기

질문이 있습니다 .이미지맵 링크 관련

이미지 맵에 링크를 걸었습니다.
 
일반적인 링크는 지장이 없는데 로그인 부분에서 기존 방식 그대로 사용을 하니 먹히질 않습니다.
이부분을 어떻게 해야 할지 도움을 청합니다.
자바 스크립트로 해야 하나요?
 
<map name="top_right">
<? if ($is_member) { ?>
        <area shape="rect" coords="20,8,53,17"  href='<?=$g4[bbs_path]?>/logout.php' alt="login">
  <area shape="rect" coords="82,8,119,17" href='<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php' alt="joinus">
<? } else { ?>
        <area shape="rect" coords="20,8,53,17"  href='<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>' alt="login">
  <area shape="rect" coords="82,8,119,17" href='<?=$g4[bbs_path]?>/register.php' alt="joinus">
<? } ?>
  <area shape="rect" coords="143,8,171,17" href="#" alt="cart">
  <area shape="rect" coords="193,8,228,17" href="#" alt="order">
  <area shape="rect" coords="250,8,285,17" href="#" alt="guide">
  </map>

댓글 1개

<map name="top_right">
<? if ($is_member) { ?>
<area shape="rect" coords="20,8,53,17" href='<?=$g4[bbs_path]?>/logout.php' alt="login">
<area shape="rect" coords="82,8,119,17" href='<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php' alt="joinus">
<area shape="rect" coords="143,8,171,17" href="#" alt="cart">
<area shape="rect" coords="193,8,228,17" href="#" alt="order">
<area shape="rect" coords="250,8,285,17" href="#" alt="guide">
<? } else { ?>
<area shape="rect" coords="20,8,53,17" href='<?=$g4[bbs_path]?>/login.php?url=<?=$urlencode?>' alt="login">
<area shape="rect" coords="82,8,119,17" href='<?=$g4[bbs_path]?>/register.php' alt="joinus">
<area shape="rect" coords="143,8,171,17" href="#" alt="cart">
<area shape="rect" coords="193,8,228,17" href="#" alt="order">
<area shape="rect" coords="250,8,285,17" href="#" alt="guide">


<? } ?>
</map>

이렇게 전체를 두고 해보세요!
전혀 문제가 되지 않는데 이렇게 해보세요

</map>
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
07-07-24 조회 1,105
07-07-24 조회 1,680
07-07-24 조회 1,692
07-07-24 조회 1,624
07-07-24 조회 1,693
07-07-24 조회 1,155
07-07-24 조회 1,359
07-07-24 조회 1,466
07-07-24 조회 1,106
07-07-24 조회 1,673
07-07-24 조회 1,066
07-07-24 조회 1,790
07-07-24 조회 3,398
07-07-24 조회 1,175
07-07-24 조회 1,558
07-07-24 조회 1,884
07-07-23 조회 1,218
07-07-23 조회 1,732
07-07-23 조회 1,138
07-07-23 조회 1,686