테스트 사이트 - 개발 중인 베타 버전입니다

최신글스킨에서 이미지 클릭하면 팝업창뜨게 할수없나요?

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 :

latest.skin 파일에서 이미지클릭하면 이미지원본의 팝업 확대창을 뜨게하고싶어요 근데 아무리해봐도 안되네요 ㅠㅠ 어디를 수정해야되나요??

if (!defined("_GNUBOARD_")) exit; //개별 페이지 접근 불가

?>

<ul class="thumb_list" style="margin-top:5px;float:left;">

<? for ($i = 0; $i < count($list); $i++) {
$file = $list[$i][file][0][path] .'/thumb/'.$list[$i][wr_id];
?>

<li style="float:left; width:104px; height:176px;"><p><a href="<?=$list[$i]['href']?>"><div style="border:1px solid #c8c8c8;"><img src="<?=$file?>" ></div></a><a href="javascript:popup_window('<?=$list[$i]['href']?>','winboard','left=0, top=0, width=650, height=395, scrollbars=1,resizable=no')" onfocus="this.blur()"><p style="margin-top:5px; "></p><?=$list[$i][subject]?></a></p></li>
<?}?>
</ul>



javascript:popup_window('<?=$list[$i]['href']?>','winboard','left=0, top=0, width=650, height=395, scrollbars=1,resizable=no')" 이부분을 넣엇는데 안되네요 답변좀 부탁드려요 ㅠㅠ

댓글 작성

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

로그인하기

댓글 2개

이미지에 팝업링크를 거시려면

if (!defined("_GNUBOARD_")) exit; //개별 페이지 접근 불가

?>

<ul class="thumb_list" style="margin-top:5px;float:left;">

<? for ($i = 0; $i < count($list); $i++) {
$file = $list[$i][file][0][path] .'/thumb/'.$list[$i][wr_id];
?>

<li style="float:left; width:104px; height:176px;"><p><div style="border:1px solid #c8c8c8;">><a href="javascript:popup_window('<?=$list[$i][href]?>','winboard','left=0, top=0, width=650, height=395, scrollbars=1,resizable=no');" onfocus="this.blur()"><img src="<?=$file?>" ></a></div><a href="javascript:popup_window('<?=$list[$i][href]?>','winboard','left=0, top=0, width=650, height=395, scrollbars=1,resizable=no');" onfocus="this.blur()"><p style="margin-top:5px; "></p><?=$list[$i][subject]?></a></p></li>
<?}?>
</ul>

이렇게 해보세요
감사합니다 그런데 이미지클릭하면 이미지가 작게나오고 새창이 크게나오는데 이미지크기에 맞게 새창이 나오게할수없나요???

게시글 목록

번호 제목
284508
284499
284492
284490
284484
284481
284478
284476
284474
284472
284470
284458
284457
284454
284453
284447
284446
284444
284441
284440