팝업으로 불러온 내용에 본문 링크 걸기 문의 드립니다.

팝업으로 불러온 내용에 본문 링크 걸기 문의 드립니다.

QA

팝업으로 불러온 내용에 본문 링크 걸기 문의 드립니다.

답변 1

본문

<form name="notice_form_<?=$row[wr_id]?>">
<div id="divpopup_<?=$row[wr_id]?>" style="margin-top:1004px; margin-right:0; margin-bottom:0; margin-left:-181px; border-width:0px; width:360px; height:400px; overflow:hidden; position:absolute; left:50%; top:0%; z-index:999;" >
    <? for ($i=0; $i<count($list); $i++) { ?>
 <div id="popmain" style="padding:0px 0px 0px 0px; width:366px; height:396px;"><a href="{$list[$i][href]}"><?=$pop_content?></a></div>
    <? } ?>
</div>
</form>

 

메인페이지에 예전 팝업스킨을 이용해서 본문 내용을 뽑아오게했습니다.

내용이나 레이어를 클릭시 해당원글로 가게하려하는데 위에 링크준것으로는 해당글이 열리지 않네요..

어떻게 링크를 걸어줘야 할지요?

이 질문에 댓글 쓰기 :

답변 1

<a href="{$list[$i][href]}"> 을

<a href="<?php echo $list[$i][href];?>"> 로 변경해 보세요

답변을 작성하시기 전에 로그인 해주세요.
전체 3
© SIRSOFT
현재 페이지 제일 처음으로