셀 하나에 여러개의 탭을 만들기 정보
셀 하나에 여러개의 탭을 만들기본문
셀 하나에 여러개의 탭을 만들어
최신글을 표시 하는데 어떻게 만드나요
최신글을 표시 하는데 어떻게 만드나요
추천
0
0
댓글 3개
![](http://sir.kr/data/member_image/ba/bach72.gif?1320736604)
스킨 자료실에 있습니다.
직접 만드실려고 하신다면 소스 살펴보시면 될것 같네요.
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&sca=&sfl=wr_subject&stx=%C5%C7&sop=and
직접 만드실려고 하신다면 소스 살펴보시면 될것 같네요.
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&sca=&sfl=wr_subject&stx=%C5%C7&sop=and
![](http://sir.kr/data/member_image/hk/hkrssynd.gif?1221051479)
텝관련 소스는 밑에 있습니다 참조하세요.. ;;;;
<?
$tap_width = "460"; // 텝 넓이
?>
<SCRIPT type="text/javascript">
<!--
old_debate='1';
function showLayer_tap(objid){
document.getElementById("debate"+old_debate).style.display="none";
document.getElementById("debate"+old_debate+"#1").style.display="";
document.getElementById("debate"+objid+"#1").style.display="none";
document.getElementById("debate"+objid).style.display="";
document.getElementById("debate_content"+old_debate).style.display="none";
document.getElementById("debate_content"+objid).style.display="";
old_debate=objid;
}
//-->
</SCRIPT>
<table width="<?=$tap_width?>" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<table width="<?=$tap_width?>" border="0" cellspacing="0" cellpadding="0">
<tr>
<? for($i = 1 ; $i < 6 ; $i++) {?>
<td width="92">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate<?=$i?> <? if($i != 1) echo "style=\"DISPLAY: none;\"";?>><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="nl_2.gif" style="cursor:pointer;" onclick=location.href="#"><tr><td align="center" width="91" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;"><?=$i?><?=$i?>~~~~</span></td><td width="2"></td></tr></table></TD>
<td id=debate<?=$i?>#1 <? if($i == 1) echo "style=\"DISPLAY: none;\"";?>><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="nl.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('<?=$i?>')"><tr><td align="center" width="91" class="small"><span style="vertical-align:-3px;"><?=$i?><?=$i?>~~~</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
<?}?>
</tr>
<tr>
<td align="center" valign='top' height="50">
<DIV id=debate_content1>1내용</div>
<DIV id=debate_content2 style="DISPLAY: none;">2내용</div>
<DIV id=debate_content3 style="DISPLAY: none;">3내용</div>
<DIV id=debate_content4 style="DISPLAY: none;">4내용</div>
<DIV id=debate_content5 style="DISPLAY: none;">5내용</div>
</td>
</tr>
</table>
<?
$tap_width = "460"; // 텝 넓이
?>
<SCRIPT type="text/javascript">
<!--
old_debate='1';
function showLayer_tap(objid){
document.getElementById("debate"+old_debate).style.display="none";
document.getElementById("debate"+old_debate+"#1").style.display="";
document.getElementById("debate"+objid+"#1").style.display="none";
document.getElementById("debate"+objid).style.display="";
document.getElementById("debate_content"+old_debate).style.display="none";
document.getElementById("debate_content"+objid).style.display="";
old_debate=objid;
}
//-->
</SCRIPT>
<table width="<?=$tap_width?>" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<table width="<?=$tap_width?>" border="0" cellspacing="0" cellpadding="0">
<tr>
<? for($i = 1 ; $i < 6 ; $i++) {?>
<td width="92">
<table cellSpacing=0 cellPadding=0 border=0>
<tr>
<td id=debate<?=$i?> <? if($i != 1) echo "style=\"DISPLAY: none;\"";?>><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="nl_2.gif" style="cursor:pointer;" onclick=location.href="#"><tr><td align="center" width="91" class="small"><span style="color:#f0761c; font-weight:bold; vertical-align:-3px;"><?=$i?><?=$i?>~~~~</span></td><td width="2"></td></tr></table></TD>
<td id=debate<?=$i?>#1 <? if($i == 1) echo "style=\"DISPLAY: none;\"";?>><table cellSpacing=0 cellPadding=0 border=0 width=92 height=23 background="nl.gif" style="cursor:pointer;" onclick=location.href="javascript:showLayer_tap('<?=$i?>')"><tr><td align="center" width="91" class="small"><span style="vertical-align:-3px;"><?=$i?><?=$i?>~~~</span></td><td width="2"></td></tr></table></td>
</tr></table>
</td>
<?}?>
</tr>
<tr>
<td align="center" valign='top' height="50">
<DIV id=debate_content1>1내용</div>
<DIV id=debate_content2 style="DISPLAY: none;">2내용</div>
<DIV id=debate_content3 style="DISPLAY: none;">3내용</div>
<DIV id=debate_content4 style="DISPLAY: none;">4내용</div>
<DIV id=debate_content5 style="DISPLAY: none;">5내용</div>
</td>
</tr>
</table>
감사합니다
항상 친절히 도와주시는 그누보드 고수님들
회이팅!!!
항상 친절히 도와주시는 그누보드 고수님들
회이팅!!!
![](http://www.sir.co.kr/img/emoticon/md94.gif)