첫 페이지(main.html)에 최신 게시물을 아래와 같이 추출했구여.
file: main.html
... <?
... $g4_path='./gnuboard4'; //추가
... include_once("./gnuboard4/common.php"); // _common 이 아닌 common
... include_once("$g4[path]/lib/latest.lib.php");
... ?>
... <?
... echo latest("basic", "board_notics", 3, 50);
... ?>
file: board_1_page.html
안에
... <iframe src="http://[도메인명]/gnuboard4/bbs/board.php?bo_table=board_notics" width="707" height="594" name="mainframe" frameborder="0"></iframe>...
으로 아이프레임으로 board_notics 게시판을 넣었습니다.
질문)
두 페이지는 만들었는데,
main.html의 추출된 최신 게시물중 하나를 클릭하면
board_1_page.html 페이지가 target="_top"으로 뜨면서
아이프레임 안에 클릭한 해당 내용이 상세로 보여지도록 하려면
어느부분을 어떻게 수정해야 하나요?
일반적인 링크인것 같은데... 초보라서...
고수님들의 자세한 설명 부탁 드립니다.
즐거운 하루 되세요...
file: main.html
... <?
... $g4_path='./gnuboard4'; //추가
... include_once("./gnuboard4/common.php"); // _common 이 아닌 common
... include_once("$g4[path]/lib/latest.lib.php");
... ?>
... <?
... echo latest("basic", "board_notics", 3, 50);
... ?>
file: board_1_page.html
안에
... <iframe src="http://[도메인명]/gnuboard4/bbs/board.php?bo_table=board_notics" width="707" height="594" name="mainframe" frameborder="0"></iframe>...
으로 아이프레임으로 board_notics 게시판을 넣었습니다.
질문)
두 페이지는 만들었는데,
main.html의 추출된 최신 게시물중 하나를 클릭하면
board_1_page.html 페이지가 target="_top"으로 뜨면서
아이프레임 안에 클릭한 해당 내용이 상세로 보여지도록 하려면
어느부분을 어떻게 수정해야 하나요?
일반적인 링크인것 같은데... 초보라서...
고수님들의 자세한 설명 부탁 드립니다.
즐거운 하루 되세요...
댓글을 작성하시려면 로그인이 필요합니다.
댓글 2개