각각에 이미지클릭시 원하는 페이지 이동하고 싶은데요~

각각에 이미지클릭시 원하는 페이지 이동하고 싶은데요~

QA

각각에 이미지클릭시 원하는 페이지 이동하고 싶은데요~

본문

 <?
            echo $list[$i]['icon_reply'] . " ";
            //최근게시글 링크이동하기 echo "<a href='{$list[$i]['href']}'>";
            if ($list[$i]['is_notice'])
                echo "<font style='font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size:9pt; color: rgb(86, 89, 92);'>
    <img src=\"{$latest_skin_path}/img/icon_notice.png\" border=0 align=absmiddle>
    {$list[$i]['subject']}</font>";
            else
                echo "<font style='font-family: 돋움, Dotum, AppleGothic, sans-serif; font-size:9pt; color: rgb(86, 89, 92);'><img src=\"{$latest_skin_path}/img/icon_upgrade.png\" border=0 align=absmiddle> {$list[$i]['subject']}</font>";
            echo "</a>";

            if ($list[$i]['comment_cnt'])
                echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</span></a>";

            // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
            // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

            echo " " . $list[$i]['icon_new'];
            echo " " . $list[$i]['icon_file'];
            echo " " . $list[$i]['icon_link'];
            echo " " . $list[$i]['icon_hot'];
            echo " " . $list[$i]['icon_secret'];
            ?>

 

위 소스에서

  <img src=\"{$latest_skin_path}/img/icon_notice.png\" border=0 align=absmiddle>

<img src=\"{$latest_skin_path}/img/icon_upgrade.png\" border=0 align=absmiddle>

 

위 각각 이미지에 클릭시 원하는 페이지로 이동하는 소스를 만들고 싶은데요..

방법을 모르겠네요..

 

아시는 분들 좀 알려주세요~

 

 

 

 

 

 

 

 

이 질문에 댓글 쓰기 :

답변 1

아래와 같은 형태로 변경해주세요.

<a href="javascript:location.replace('이동페이지주소');"><img src=\"{$latest_skin_path}/img/icon_notice.png\" border=0 align=absmiddle></a>

 

답변을 작성하시기 전에 로그인 해주세요.
전체 72
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT