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

메인에 있는 최신글을 클릭했을때 링크되는 페이지 수정 제발 가르켜주세요 ㅜㅜ

· 13년 전 · 749 · 1
메인에 enaksu라는 최신글 스킨을 사용 하여 게시판 최신글 사용 하는법 수정하는법을

대충 깨우쳤습니다...

하지만 제가 하고싶은거는 최신글을 클릭했을때 넘어가지는게 게시판만 나오는게

아이프래임으로 잡은 게시판까지 나오는 2.html 로 넘어가고 싶습니다

more 버튼은 링크만 하는 거라 간단했는데

최신글을 눌렀을때 해당 게시판글과 2.html 화면이 같이 나왔으면 하는건데

이건 불가능한건가여 ? 디자인만 짜봤지 코딩은 젬병이라 ㅜㅜ 제발 가르켜주세요 ㅜㅜ

latest.skin.php 내용 입니다

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

<style type="text/css">
.lastest {_display:inline-block; width:100%; overflow:hidden;}
.lastest .lastest_box {_display:inline-block; position:relative; overflow:hidden;}
.lastest img{border:0}
.lastest .ntitle{padding-left:7px;}
.lastest .more_btn{padding:0px;}
.lastest .lastest_box .more_btn {position:absolute; top:0px; right:5px;}
.lastest ul {list-style-image:none; padding:0 5px 0 5px;}
.lastest li {background:url(<?=$latest_skin_path?>/img/ball.gif) no-repeat 0 50%; padding:2px 0 2px 10px; font-size:12px;}
.lastest a:link {color: #888; text-decoration: none}
.lastest a:visited {color: #888; text-decoration: none}
.lastest a:active {color: #888; text-decoration: none}
.lastest a:hover { color: #888; text-decoration: none}
body {
margin-top: 0px;
}
</style>

<div class="lastest">

<ul>
<? for ($i=0; $i<count($list); $i++) { ?>
<li>
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "{$list[$i]['subject']}";
else
echo "{$list[$i]['subject']}";
echo "</a>";

if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\">{$list[$i]['comment_cnt']}</a>";

echo " " . $list[$i]['icon_new'];
?></li>
<? } ?>
<? if (count($list) == 0) { ?><li>게시물이 없습니다.</li><? } ?>
</ul>
</div>

댓글 작성

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

로그인하기

댓글 1개

more버튼 링크처럼 아래와같이 넣어보세요
<? for ($i=0; $i<count($list); $i++) {
$list[$i]['href']="2.html";
?>

게시글 목록

번호 제목
284438
284437
284435
284430
284420
284417
284409
284401
284399
284397
284380
284378
284371
284370
284366
284364
284360
284357
284355
284354