[Javascript] 레이어 스크립트 소스 | +JavaScript

· 19년 전 · 1975
<!--#include file="../include/DBConn.asp"-->
<script language="javascript">
function showlayer(no)
{
if(no==1)
{
document.all.layer1.style.display="block";
document.all.layer2.style.display="none";
document.all.layer3.style.display="none";
document.all.layer4.style.display="none";
}
else if(no == 2)
{
document.all.layer1.style.display="none";
document.all.layer2.style.display="block";
document.all.layer3.style.display="none";
document.all.layer4.style.display="none";
}
else if (no == 3)
{
document.all.layer1.style.display="none";
document.all.layer2.style.display="none";
document.all.layer3.style.display="block";
document.all.layer4.style.display="none";
}
else if (no == 4)
{
document.all.layer1.style.display="none";
document.all.layer2.style.display="none";
document.all.layer3.style.display="none";
document.all.layer4.style.display="block";
}
}
</script>
<link href="../css/style.css" rel="stylesheet" type="text/css">
<div id="layer1" style="display:Block">
<table width="349" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="349">
<table width="349" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td width="80" valign="bottom"><img src="../images/main_listtit.gif" width="80" height="30"></td>
<td width="79" valign="bottom"><a href="javascript:showlayer(2)"><img src="../images/main_listtit02.gif" width="79" height="25" border=0></a></td>
<td width="4" valign="bottom"><img src="../images/main_listtit_line.gif" width="4" height="25"></td>
<td width="80" valign="bottom"><a href="javascript:showlayer(3)"><img src="../images/main_listtit03.gif" width="80" height="25" border=0></a></td>
<td width="4" valign="bottom"><img src="../images/main_listtit_line.gif" width="4" height="25"></td>
<td width="78" valign="bottom"><a href="javascript:showlayer(4)"><img src="../images/main_listtit04.gif" width="80" height="25" border=0></a></td>
<td width="23" background="../images/main_listtit_line.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<!--공지사항 최근게시물 출력 시작-->
<%
Notice_SQL = "select top 5 * from tbl_board07 order by idx desc"
Set Notice_Rs = Server.Createobject("ADODB.RECORDSET")
Notice_Rs.open Notice_SQL,Conn,1
%>
<table width="349" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="14" colspan="5"></td>
</tr>
<%
do until Notice_Rs.eof
idx = Notice_Rs("idx")
Subject = Notice_Rs("Subject")
Writeday = Notice_Rs("Writeday")
%>
<tr>
<td width="9" height="21"></td>
<td width="10" height="21"><img src="../images/main_listicon.gif" width="2" height="3"></td>
<td width="203" height="21"><%=subject%></td>
<td width="55" height="21"><img src="../images/main_listnew.gif" width="19" height="9"></td>
<td width="72" height="21"><%=left(Writeday,10)%></td>
</tr>
<tr background="../images/main_listdotline.gif">
<td height="3" colspan="5"></td>
</tr>
<%
Notice_Rs.movenext
loop
%>
</table>
<!--공지사항 최근게시물 출력 끝-->
</td>
</tr>
</table>
</div>

<div id="layer2" style="display:none">
<table width="349" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="349">
<table width="349" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td width="80" valign="bottom"><img src="../images/main_listtit.gif" width="80" height="30"></td>
<td width="79" valign="bottom"><a href="main1.asp"><img src="../images/main_listtit02.gif" width="79" height="25" border=0></a></td>
<td width="4" valign="bottom"><img src="../images/main_listtit_line.gif" width="4" height="25"></td>
<td width="80" valign="bottom"><a href="main2.asp"><img src="../images/main_listtit03.gif" width="80" height="25" border=0></a></td>
<td width="4" valign="bottom"><img src="../images/main_listtit_line.gif" width="4" height="25"></td>
<td width="78" valign="bottom"><a href="main3.asp"><img src="../images/main_listtit04.gif" width="80" height="25" border=0></a></td>
<td width="23" background="../images/main_listtit_line.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<!--공지사항 최근게시물 출력 시작-->
<%
Notice_SQL100 = "select top 5 * from tbl_board01 order by idx desc"
Set Notice_Rst = Server.Createobject("ADODB.RECORDSET")
Notice_Rst.open Notice_SQL100,Conn,1
%>
<table width="349" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="14" colspan="5"></td>
</tr>
<%
do until Notice_Rst.eof
idx = Notice_Rst("idx")
Subject = Notice_Rst("Subject")
Writeday = Notice_Rst("Writeday")
%>
<tr>
<td width="9" height="21"></td>
<td width="10" height="21"><img src="../images/main_listicon.gif" width="2" height="3"></td>
<td width="203" height="21"><%=subject%></td>
<td width="55" height="21"><img src="../images/main_listnew.gif" width="19" height="9"></td>
<td width="72" height="21"><%=left(Writeday,10)%></td>
</tr>
<tr background="../images/main_listdotline.gif">
<td height="3" colspan="5"></td>
</tr>
<%
Notice_Rst.movenext
loop
%>
</table>
<!--공지사항 최근게시물 출력 끝-->
</td>
</tr>
</table>
</div>

<div id="layer3" style="display:none">
<table width="349" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="349">
<table width="349" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td width="80" valign="bottom"><a href="javascript:showlayer(1)"><img src="../images/main_listtit01.gif" width="80" height="30"></td>
<td width="79" valign="bottom"><a href="main1.asp"><img src="../images/main_listtit02.gif" width="79" height="25" border=0></a></td>
<td width="4" valign="bottom"><img src="../images/main_listtit_line.gif" width="4" height="25"></td>
<td width="80" valign="bottom"><a href="main2.asp"><img src="../images/main_listtit03.gif" width="80" height="25" border=0></a></td>
<td width="4" valign="bottom"><img src="../images/main_listtit_line.gif" width="4" height="25"></td>
<td width="78" valign="bottom"><img src="../images/main_listtit0.gif" width="80" height="25" border=0></a></td>
<td width="23" background="../images/main_listtit_line.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<!--공지사항 최근게시물 출력 시작-->
<%
Notice_SQL100 = "select top 5 * from tbl_board01 order by idx desc"
Set Notice_Rst = Server.Createobject("ADODB.RECORDSET")
Notice_Rst.open Notice_SQL100,Conn,1
%>
<table width="349" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="14" colspan="5"></td>
</tr>
<%
do until Notice_Rst.eof
idx = Notice_Rst("idx")
Subject = Notice_Rst("Subject")
Writeday = Notice_Rst("Writeday")
%>
<tr>
<td width="9" height="21"></td>
<td width="10" height="21"><img src="../images/main_listicon.gif" width="2" height="3"></td>
<td width="203" height="21"><%=subject%></td>
<td width="55" height="21"><img src="../images/main_listnew.gif" width="19" height="9"></td>
<td width="72" height="21"><%=left(Writeday,10)%></td>
</tr>
<tr background="../images/main_listdotline.gif">
<td height="3" colspan="5"></td>
</tr>
<%
Notice_Rst.movenext
loop
%>
</table>
<!--공지사항 최근게시물 출력 끝-->
</td>
</tr>
</table>
</div>

<div id="layer4" style="display:none">
<table width="349" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="349">
<table width="349" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td width="80" valign="bottom"><img src="../images/main_listtit.gif" width="80" height="30"></td>
<td width="79" valign="bottom"><a href="main1.asp"><img src="../images/main_listtit02.gif" width="79" height="25" border=0></a></td>
<td width="4" valign="bottom"><img src="../images/main_listtit_line.gif" width="4" height="25"></td>
<td width="80" valign="bottom"><a href="main2.asp"><img src="../images/main_listtit03.gif" width="80" height="25" border=0></a></td>
<td width="4" valign="bottom"><img src="../images/main_listtit_line.gif" width="4" height="25"></td>
<td width="78" valign="bottom"><a href="main3.asp"><img src="../images/main_listtit04.gif" width="80" height="25" border=0></a></td>
<td width="23" background="../images/main_listtit_line.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<!--공지사항 최근게시물 출력 시작-->
<%
Notice_SQL100 = "select top 5 * from tbl_board01 order by idx desc"
Set Notice_Rst = Server.Createobject("ADODB.RECORDSET")
Notice_Rst.open Notice_SQL100,Conn,1
%>
<table width="349" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="14" colspan="5"></td>
</tr>
<%
do until Notice_Rst.eof
idx = Notice_Rst("idx")
Subject = Notice_Rst("Subject")
Writeday = Notice_Rst("Writeday")
%>
<tr>
<td width="9" height="21"></td>
<td width="10" height="21"><img src="../images/main_listicon.gif" width="2" height="3"></td>
<td width="203" height="21"><%=subject%></td>
<td width="55" height="21"><img src="../images/main_listnew.gif" width="19" height="9"></td>
<td width="72" height="21"><%=left(Writeday,10)%></td>
</tr>
<tr background="../images/main_listdotline.gif">
<td height="3" colspan="5"></td>
</tr>
<%
Notice_Rst.movenext
loop
%>
</table>
<!--공지사항 최근게시물 출력 끝-->
</td>
</tr>
</table>
</div><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

프로그램

+
제목 글쓴이 날짜 조회
19년 전 조회 3,334
19년 전 조회 3,186
19년 전 조회 1,816
19년 전 조회 2,727
19년 전 조회 7,817
19년 전 조회 2,489
19년 전 조회 3,097
19년 전 조회 2,846
19년 전 조회 3,002
19년 전 조회 2,209
19년 전 조회 2,440
19년 전 조회 4,061
19년 전 조회 2,218
19년 전 조회 4,215
19년 전 조회 2,373
19년 전 조회 2,069
19년 전 조회 2,317
19년 전 조회 1,859
19년 전 조회 2,396
19년 전 조회 2,187
19년 전 조회 3,056
19년 전 조회 1,840
19년 전 조회 3,533
19년 전 조회 2,688
19년 전 조회 3,434
19년 전 조회 3,436
19년 전 조회 3,138
19년 전 조회 5,426
19년 전 조회 2,158
19년 전 조회 2,208
19년 전 조회 2,303
19년 전 조회 3,383
19년 전 조회 3,690
19년 전 조회 3,735
19년 전 조회 2,342
19년 전 조회 2,385
19년 전 조회 2,681
19년 전 조회 3,028
19년 전 조회 2,451
19년 전 조회 2,615
19년 전 조회 2,437
19년 전 조회 2,196
19년 전 조회 3,222
19년 전 조회 3,280
19년 전 조회 3,019
19년 전 조회 4,852
19년 전 조회 2,682
19년 전 조회 3,296
19년 전 조회 3,126
19년 전 조회 1,976
19년 전 조회 3,117
19년 전 조회 1,857
19년 전 조회 2,326
19년 전 조회 2,397
19년 전 조회 3,975
19년 전 조회 3,161
19년 전 조회 3,085
19년 전 조회 2,530
19년 전 조회 1,993
19년 전 조회 1,633
19년 전 조회 2,401
19년 전 조회 2,321
19년 전 조회 1,810
19년 전 조회 1,806
19년 전 조회 2,596
19년 전 조회 2,571
19년 전 조회 1,870
19년 전 조회 2,101
19년 전 조회 3,288
19년 전 조회 1,941
19년 전 조회 2,484
19년 전 조회 2,559
19년 전 조회 2,652
19년 전 조회 2,928
19년 전 조회 2,555
19년 전 조회 2,969
19년 전 조회 2,752
19년 전 조회 3,505
19년 전 조회 1,861
19년 전 조회 2,725
19년 전 조회 2,362
19년 전 조회 2,012
19년 전 조회 2,418
19년 전 조회 1,864
19년 전 조회 5,432
19년 전 조회 2,249
19년 전 조회 4,236
19년 전 조회 2,290
19년 전 조회 1,840
19년 전 조회 2,582
19년 전 조회 2,321
19년 전 조회 2,521
19년 전 조회 2,156
19년 전 조회 3,904
19년 전 조회 3,410
19년 전 조회 2,191
19년 전 조회 2,099
19년 전 조회 1,965
19년 전 조회 1,983
19년 전 조회 4,362
🐛 버그신고