묻고답하기

<img src=http://bamtol.fx86.com/plz.jpg>

http://bamtol.fx86.com/bbs/zboard.php?id=free
여기가면 왼쪽 메뉴가 나오는데요
빨간색으로 표시된 이미지를 누르면 접힌답니다.
근데 페이지가 열릴때는 모두 펼쳐져서 나오네요.
처음부터 접혀져서 나오게 하고 싶은데
제발가르쳐주세요~

아래는 이부분 소스입니다.

<title>|밤톨|또 하나의 반쪽</title>
<script Language="Javascript">

//
// 쿠키를 굽는다.
//
// setCookie( "쿠기이름", "쿠키값" ,쿠키사용기간 );
// 생성 : setCookie( "CoN0", "none" ,7 );
// 삭제 : setCookie( "CoN0", "" ,"" );
//
function setCookie( name, value, expiredays )
{

        var todayDate = new Date();
        todayDate.setDate( todayDate.getDate() + expiredays );
        document.cookie = name + "=" + escape( value ) + "; expires=" + todayDate.toGMTString() + ";"

}

//
// 쿠키값을 가져온다.
//
// 쿠기값을받을변수 = GetCookie("쿠기이름");
// ok = GetCookie("CoN0");
//
function GetCookie(name)
{
        var cname = name + "=";
        var dc = document.cookie;
        if (dc.length > 0)
        {
                begin = dc.indexOf(cname);
                if (begin != -1)
                {
                        begin += cname.length;
                        end = dc.indexOf(";", begin);
                        if (end == -1)
                                end = dc.length;
                        return unescape(dc.substring(begin, end));
                }
        }
        return "";
}

//
// 토글 hide
//
// hide('적용할오브젝트이름');
// hide('CoN0');
//
function hide(id)
{
        obj = document.all[id];

        if (obj.style.display == '')
        {
                obj.style.display = 'none';
                setCookie( id, "none" , 7 );
        }
        else
        {
                obj.style.display = '';
                setCookie( id, "" , "" );
        }
}

//
// 쿠키값을 가져와 "토글 hide" 을 적용한다.
//
function init()
{
        ( GetCookie("CoN0") == "none" ) ? CoN0.style.display = 'none' : '' ;
        ( GetCookie("CoN1") == "none" ) ? CoN1.style.display = 'none' : '' ;
        ( GetCookie("CoN2") == "none" ) ? CoN2.style.display = 'none' : '' ;
        ( GetCookie("CoN3") == "none" ) ? CoN3.style.display = 'none' : '' ;
        ( GetCookie("CoN4") == "none" ) ? CoN4.style.display = 'none' : '' ;
}

</script>

<?
function have_new($board_id) {
$recent_time = 60*60*48;
//24시간 이내로 할 경우
$_zb_url = "http://bamtol.fx86.com/bbs/";
$_zb_path = "f:/bamtol/bbs/";
include "../dbconn1.php";  
// 이 부분의 경로는 환경에 맞게 수정하세요.
$result=mysql_query("select reg_date from zetyx_board_"."$board_id order by no desc limit 1");
while($data=mysql_fetch_array($result)) {
$today = date("U", time()); $wtime = $today-$data[0];
if($wtime <= $recent_time){ echo "<img border=0 src=../new.gif>";}  
// echo 내의 html 태그 부분은 마음에 맞게 수정하세요.
    }

}
?>

</head>

<body background="../main_bg_down.gif" style="background-attachment: fixed">

<div align="center">

<table border="0" cellpadding="0" cellspacing="0" width="945" height="421">
        <!-- MSTableType="layout" -->
        <tr>
                <td valign="top" colspan="2" height="18">
                <!-- MSCellType="ContentHead" -->
                 </td>
        </tr>
        <tr>
                <td valign="top" colspan="2" height="18">
                <!-- MSCellType="ContentHead" -->
                 <? print_outlogin("cabin1", 1, 10) ?></td>
        </tr>
        <tr>
                <td valign="top" colspan="2" height="40">
                <!-- MSCellType="ContentHead" -->
<table width="945" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
        <td width="3">
        <img src="menubox_left-top.gif" width="3" height="3"></td>
        <td width="945" height="3" bgcolor="#2F672C"></td>
        <td width="3">
        <img src="menubox_right-top.gif" width="3" height="3"></td>
</tr>
<tr bgcolor="#FF8000">
        <td height="34" colspan="3" style="padding:0 0 3 20" bgcolor="#2F672C">
                <table width="910" border="0" cellspacing="0" cellpadding="0" height="34">
                <tr>
                        <td width="550" style="padding-top:2px" align="center">
                        <font color="#FFFFFF">
                        <img src="../ico_oval.gif" width="4" height="7" align="absmiddle">
                        <a href="http://bamtol.fx86.com/bbs/zboard.php?id=world2" class="sublink">
                        <font color="#FFFFFF"><span style="text-decoration: none">DVDCOVERART</span></font></a>   <img src="../ico_oval.gif" width="4" height="7" align="middle">
                                <a href="http://bamtol.fx86.com/bbs/zboard.php?id=dvdrwinfo">
                        <font color="#FFFFFF"><span style="text-decoration: none">DVD하드웨어</span></font></a>   <img src="../ico_oval.gif" width="4" height="7" align="absmiddle">
                                <a href="http://bamtol.fx86.com/bbs/zboard.php?id=free">
                        <font color="#FFFFFF"><span style="text-decoration: none">커뮤니티</span></font></a>   <img src="../ico_oval.gif" width="4" height="7" align="absmiddle">
                                <a href="http://bamtol.fx86.com/allqa.php">
                        <font color="#FFFFFF"><span style="text-decoration: none">통합</span></font><span style="text-decoration: none"><font color="#FFFFFF">QA</font></span></a></font></a><font color="#FFFFFF">   <img src="../ico_oval.gif" width="4" height="7" align="absmiddle">
                                <a href="http://bamtol.fx86.com/bbs/zboard.php?id=detail">
                        <font color="#FFFFFF"><span style="text-decoration: none">잡동사니</span></font></a>    <img src="../ico_oval.gif" width="4" height="7" align="absmiddle">
                        <a href="http://bamtol.fx86.com/bbs/ssearch.php">
                        <font color="#FFFFFF"><span style="text-decoration: none">SEARCH</span></font></a> </font></font></td>
                                <td width="300"><table width="230" border="0" cellspacing="0" cellpadding="0"><tr><td width="2">
                                        <font color="#FFFFFF">
                                        <img src="menubox_001.gif" width="2" height="24"></font></td>
                                        <td bgcolor="#60A049" style="padding-top:2px"><div align="center"><font color="#FFFFFF">
                                                <span style="text-decoration: none">
                                                <a href="http://bamtol.fx86.com/bbs/zboard.php?id=eventqa">
                                                <font color="#FFFFFF">
                                                <span style="text-decoration: none">이벤트</span></font></a></span></font></a><font color="#FFFFFF">  |  <span style="text-decoration: none"><a href="http://bamtol.fx86.com/bbs/zboard.php?id=rama09"><font color="#FFFFFF"><span style="text-decoration: none">공동구매</span></font></a></span></a>  |  <span style="text-decoration: none">장터</span></a>  |  <span style="text-decoration: none"><a href="http://bamtol.fx86.com/bamkkagiindex.php"><font color="#FFFFFF"><span style="text-decoration: none">밤까기</span></font></a></span></font></a></div></td><td width="2">
                                        <font color="#FFFFFF">
                                        <img src="../menubox_002.gif" width="2" height="24"></font></td></tr></table></td></tr></table></td></tr>
</table></td>

        </tr>        <tr>
                <td valign="top" width="130" bgcolor="#FBFBFB">
                <a target="http://www.formshop.co.kr/products/?cbid=26&cmid=170" href="http://www.formshop.co.kr/products/?cbid=26&cmid=170">
        <img border="0" src="bamtol_formtec2.gif"></a>
                <table>
                <!-- MSCellType="NavBody" -->
                <tr><td>
<table border=0 cellpadding="1" cellspacing="0">
<tr><td><SPAN style='CURSOR: hand' onClick="hide('CoN0')">
        <img src=dvdcoverart_menu.jpg align=absmiddle></SPAN></td></tr>
</table>
</TD></TR><TR><TD>
                <div id='CoN0'>
                <table cellpadding="0" cellspacing="0"><tr><td><img src='' width=0 height=0></td><td>
                <table border=0 cellpadding="0" cellspacing="0">
                <tr><td height="2"></td></tr>
                <tr><td align=right><?have_new("world2");?>
                <a href="http://bamtol.fx86.com/bbs/zboard.php?id=world2">
                <font color="#000000"><span style="text-decoration: none">외국커버아트</span></font></a> <img border="0" src="exposeicon10082003.gif" width="23" height="20"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("korea2");?>
                <span style="text-decoration: none">
                        <a href="http://bamtol.fx86.com/bbs/zboard.php?id=korea2">
                        <font color="#000000"><span style="text-decoration: none">한국영화커버</span></font></a></span> <img border="0" src="003ce_B.jpg" width="30" height="20"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("ani2");?>
        <a onFocus="blur()" href="http://bamtol.fx86.com/bbs/zboard.php?id=ani2">
                <font color="#000000"><span style="text-decoration: none">애니메이션</span></font></a> <img border="0" src="shrek2_wallpaper4_800_600.jpg" width="25" height="20"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("etc2");?>
        <a onFocus="blur()" href="http://bamtol.fx86.com/bbs/zboard.php?id=etc2">
                <font color="#000000"><span style="text-decoration: none">기타(etc)커버</span></font></a> <img border="0" src="userswitchingicon10082003.gif" width="27" height="21"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("label2");?>
        <a onFocus="blur()" href="http://bamtol.fx86.com/bbs/zboard.php?id=label2">
                <font color="#000000"><span style="text-decoration: none">DVD라벨</span></font></a> <img border="0" src="pr-macos.gif" width="22" height="22"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("request");?>
        <a onFocus="blur()" href="http://bamtol.fx86.com/bbs/zboard.php?id=request">
                <font color="#000000"><span style="text-decoration: none">커버아트요청</span></font></a> <img border="0" src="sb-supportcross232.gif" width="19" height="20"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("modify");?>
        <a onFocus="blur()" href="http://bamtol.fx86.com/bbs/zboard.php?id=modify">
                <font color="#000000"><span style="text-decoration: none">수정요청</span></font></a> <img border="0" src="xcodeicon10082003.gif" width="23" height="21"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("forum");?>
        <a onFocus="blur()" href="http://bamtol.fx86.com/bbs/zboard.php?id=forum">
                <font color="#000000"><span style="text-decoration: none">커버아트QA</span></font></a> <img border="0" src="icon_support_sm.gif" width="22" height="20"></td></tr></table>
                </div>
                </td></tr></table>
                </TD></TR>
                <tr><td>

          <table border=0 height=15 cellpadding="0" cellspacing="1"><tr><td><SPAN style='CURSOR: hand' onClick="hide('CoN1')">
                <img src=dvdhw_menu.jpg align=absmiddle> </SPAN></td></tr></table></TD></TR><TR><TD>
                <div id='CoN1'>
                <table cellpadding="0" cellspacing="0"><tr><td><img src='' width=0 height=0></td><td>
                <table border=0 cellpadding="0" cellspacing="0">
                <tr><td height="3"></td></tr>
                <tr><td align=right><?have_new("dvdrwinfo");?>
                <font color="#000000">
                <a href="http://bamtol.fx86.com/bbs/zboard.php?id=dvdrwinfo"><span style="text-decoration: none">
                <font color="#000000">하드웨어정보</font></span></a></font> <img border="0" src="iconipod04282004.gif" width="16" height="16"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("techtips");?>
        <a href="http://bamtol.fx86.com/bbs/zboard.php?id=techtips">
                <font color="#000000"><span style="text-decoration: none">레코딩정보</span></font></a> <img border="0" src="icon_feedback01062004.gif" width="30" height="22"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("mediause");?>
        <a href="http://bamtol.fx86.com/bbs/zboard.php?id=mediause">
                <font color="#000000"><span style="text-decoration: none">미디어정보</span></font></a> <img border="0" src="icon_isync_sm.gif" width="20" height="20">                </td></tr>                
                <tr><td height="2"></td></tr>
                </table>
                </div>
                </td></tr></table>
                </TD></TR>
                <tr><td>

                <table border=0 height=15 cellpadding="0" cellspacing="1"><tr><td><SPAN style='CURSOR: hand' onClick="hide('CoN2')">
                        <img src=community_menu.jpg align=absmiddle></SPAN></td></tr></table></TD></TR><TR><TD>
                <div id='CoN2'>
                <table cellpadding="0" cellspacing="0"><tr><td><img src='' width=0 height=0></td><td>
                <table border=0 cellpadding="0" cellspacing="0">
                <tr><td height="3"></td></tr>
                <tr><td align=right> <?have_new("free");?>
                <a onFocus="blur()" href="http://bamtol.fx86.com/bbs/zboard.php?id=free">
                <font color="#000000"><span style="text-decoration: none">자유게시판</span></font></a> <img border="0" src="ico_naver03.gif" width="21" height="20"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("photo");?>
        <a href="http://bamtol.fx86.com/bbs/zboard.php?id=photo">
                <font color="#000000"><span style="text-decoration: none">포토갤러리</span></font></a> <img border="0" src="sb-orders32.gif" width="27" height="20"></td></tr>                
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("pds");?>
        <a onFocus="blur()" href="http://bamtol.fx86.com/bbs/zboard.php?id=pds">
                <font color="#000000"><span style="text-decoration: none">자료실</span></font></a> <img border="0" src="icon_homepage_sm.gif" width="20" height="21"></td></tr>        
                <tr><td height="2"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("movie");?>
        <a href="http://bamtol.fx86.com/bbs/zboard.php?id=movie">
                <font color="#000000"><span style="text-decoration: none">영화감상평</span></font></a> <img border="0" src="icon_mediaskins.gif" width="24" height="20"></td></tr>        
                <tr><td height="2"></td></tr>
        <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("icon");?>
        <a href="http://bamtol.fx86.com/bbs/zboard.php?id=icon">
                <font color="#000000"><span style="text-decoration: none">운영자에게</span></font></a> <img border="0" src="icon_email_sm.gif" width="22" height="19"></td></tr>        
                <tr><td height="2"></td></tr>
                </table>
                </div>
                </td></tr></table>
                </TD></TR>
                <tr><td>

                <table border=0 height=15 cellpadding="0" cellspacing="1"><tr><td><SPAN style='CURSOR: hand'+ '+ ' onClick="hide('CoN3')">
                        <img src=detail_menu.jpg align=absmiddle></SPAN></td></tr></table></TD></TR><TR><TD>
                <div id='CoN3'>
                <table cellpadding="0" cellspacing="0"><tr><td><img src=''+ ' width=0 height=0></td><td>
                <table border=0 cellpadding="0" cellspacing="0">
                <tr><td height="3"></td></tr>
                <tr><td align=right><?have_new("detail");?>
                <a href="http://bamtol.fx86.com/bbs/zboard.php?id=detail">
                <span style="text-decoration: none"><font color="#000000">잡동사니</font></span></a> <img border="0" src="icon_memberbene_sm.gif" width="22" height="21"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <td align=right>
        reserve
                <img border="0" src="icon_memberbene_sm.gif" width="22" height="21">                </td></tr>                
                <tr><td height="2"></td></tr>
                </table>
                </div>
                </td></tr></table>
                </TD></TR>
                <tr><td>

                <table border=0 height=15 cellpadding="0" cellspacing="1"><tr><td><SPAN style='CURSOR: hand' onClick="hide('CoN4')">
                        <img src=event_menu.jpg align=absmiddle></SPAN></td></tr></table></TD></TR><TR><TD>
                <div id='CoN4'>
                <table cellpadding="0" cellspacing="0"><tr><td><img src='' width=0 height=0></td><td>
                <table border=0 cellpadding="0" cellspacing="0">
                <tr><td height="3"></td></tr>
                <tr><td align=right><?have_new("eventqa");?>
                <a href="http://bamtol.fx86.com/bbs/zboard.php?id=eventqa">
                <font color="#000000"><span style="text-decoration: none">이벤트</span></font></a> <img border="0" src="icon_ical_sm.gif" width="21" height="22"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right><?have_new("rama09");?>
                <a href="http://bamtol.fx86.com/bbs/zboard.php?id=rama09">
                <font color="#000000"><span style="text-decoration: none">공동구매</span></font></a> <img border="0" src="iconcart04282004.gif" width="16" height="16"></td></tr>
                <tr><td height="6"><img src=images/dot.gif></td></tr>
                <tr><td align=right>
        장터<img border="0" src="iconimport04282004.gif" width="16" height="16"></td></tr>
                </table>
                </div>
                
                </td></tr></table>
                </td></tr>
                <tr><td>
                </td></tr></table>
<!-- 메뉴 끝-->

부탁드려요~^^
....
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
고종건 고수님들 도와주세요. 메일로 보내는 방법... [4] 2007.08.10
BT 클릭하면 접히는 레이어 질문.....  
BT 클릭하면 접히는 레이어 질문.... [1] 2007.08.10
정인창 표에서 이미지를 제일위로 보낸는 방법이? [1] 2007.08.10
stylebiz 페이지뷰 기능을 만들려고 하는데요 ^-^;; [3] 2007.08.10
김주한 커서 바꾸는 방법좀 .. [1] 2007.08.10
GaMeDoRi 질문질문 나모5.0 [1] 2007.08.10
GaMeDoRi 질문질문 나모5.0 [1] 2007.08.10
헬프미!!! 음악이 들리질 않아여ㅠ.ㅠ [9] 2007.08.10
최보나 페이지 링크걸기  
개가죽 암호를 묻네요  
정인창 [드림위버]이미지에 표을 딱 맞출때는?? [3] 2007.08.10
티스푼 다음 카페 가입할때 서명하는거 어떻게 만드는거예요? [3] 2007.08.10
허종원 php 설정 문의  
최보나 책자넘기기  
최보나 책자넘기기 소스  
양성희 글이 저장이안되어있는  
하영민 급질문! 플래시에서 손가락모양나오는것 [1] 2007.08.10
Dr.Can ASP를 사용한 보드(MS SQL사용) DB를 제로보드로 변환 가능한가요?  
☜_Redyan_☞ php 소스 전체 유출방지할수는 없나요? [4] 2007.08.10
정인창 [포토샾]이미지와 그래디언트색깔의 경계면을 자연스럽게..  
유재영 Internet Explorer에서 Flash가 재생이 안되네여...  
김형민 홈페이지 메인에 게시판 제목을 넣을려고 하는데... [1] 2007.08.10
마일 ftp.naver.com 로그인이 안됩니다 [1] 2007.08.10
someday 웹폰트 관련... 세번째...;ㅅ; [2] 2007.08.10
Toy 이미지 클릭시 점선 없애기 [2] 2007.08.10
알랍 테이블 너비는 계산을 해서 넣을 수 없나요? [3] 2007.08.10
맥심 홈페이지 배경을 그라디언트로 하고싶습니다. [1] 2007.08.10
☜_Redyan_☞ PHP 질문입니다. [2] 2007.08.10
윤지현 포토샵 설치가 안되요!! [1] 2007.08.10