최근게시물 아이프레임일때 타겟을 전체로 주는 방법.
조회수: 16626, 추천수: 11, 2003.03.28 10:27:02
게시글 주소 : http://www.zeroboard.com/835857
엮인글 주소 : http://www.zeroboard.com/835857/trackback

이명희제로보드 폴더에있는outlogin.php를 열어서


                        $main = str_replace("[subject]","<a href='".$_zb_url.$target."&no=$data[no]'>".$subject."</a>",$main);
            


이부분을




$main = str_replace("[subject]","<a href='".$_zb_url.$target."&no=$data[no]'  target=_top>".$subject."</a>",$main);


요로케 고쳐주면 됩니다.
target 지정을 여기서 해주는 거지오...
(메일과 쪽지와 게시판 글에서 많이 물어오길래 올립니다)
이거를 사용한 홈페이지는
http://www.noblees.com
이구요..

제홈페이지는 http://www.cool-soul.com 입니다.


덧붙여 최근게시물에서 타이틀을 눌러도 target지정이 되어야 겠쬬?



$list = str_replace("[title]","<a href='".$_zb_url."zboard.php?id=".$id."' >".$title."</a>",$list);

를 찾아서


$list = str_replace("[title]","<a href='".$_zb_url."zboard.php?id=".$id."' target=_top>".$title."</a>",$list);

요로케 바꿔주면 됍니다.