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

· 19년 전 · 1979
<!--#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,338
19년 전 조회 3,188
19년 전 조회 1,819
19년 전 조회 2,730
19년 전 조회 7,819
19년 전 조회 2,492
19년 전 조회 3,100
19년 전 조회 2,848
19년 전 조회 3,005
19년 전 조회 2,212
19년 전 조회 2,442
19년 전 조회 4,064
19년 전 조회 2,219
19년 전 조회 4,218
19년 전 조회 2,376
19년 전 조회 2,072
19년 전 조회 2,320
19년 전 조회 1,862
19년 전 조회 2,400
19년 전 조회 2,191
19년 전 조회 3,058
19년 전 조회 1,842
19년 전 조회 3,536
19년 전 조회 2,692
19년 전 조회 3,436
19년 전 조회 3,439
19년 전 조회 3,142
19년 전 조회 5,428
19년 전 조회 2,162
19년 전 조회 2,211
19년 전 조회 2,306
19년 전 조회 3,386
19년 전 조회 3,694
19년 전 조회 3,738
19년 전 조회 2,344
19년 전 조회 2,389
19년 전 조회 2,683
19년 전 조회 3,028
19년 전 조회 2,453
19년 전 조회 2,617
19년 전 조회 2,440
19년 전 조회 2,199
19년 전 조회 3,225
19년 전 조회 3,283
19년 전 조회 3,020
19년 전 조회 4,855
19년 전 조회 2,684
19년 전 조회 3,297
19년 전 조회 3,129
19년 전 조회 1,980
19년 전 조회 3,120
19년 전 조회 1,861
19년 전 조회 2,327
19년 전 조회 2,400
19년 전 조회 3,978
19년 전 조회 3,166
19년 전 조회 3,088
19년 전 조회 2,534
19년 전 조회 1,993
19년 전 조회 1,635
19년 전 조회 2,403
19년 전 조회 2,324
19년 전 조회 1,812
19년 전 조회 1,810
19년 전 조회 2,599
19년 전 조회 2,573
19년 전 조회 1,872
19년 전 조회 2,103
19년 전 조회 3,291
19년 전 조회 1,944
19년 전 조회 2,486
19년 전 조회 2,561
19년 전 조회 2,654
19년 전 조회 2,930
19년 전 조회 2,559
19년 전 조회 2,972
19년 전 조회 2,756
19년 전 조회 3,508
19년 전 조회 1,864
19년 전 조회 2,729
19년 전 조회 2,364
19년 전 조회 2,015
19년 전 조회 2,424
19년 전 조회 1,866
19년 전 조회 5,435
19년 전 조회 2,253
19년 전 조회 4,238
19년 전 조회 2,292
19년 전 조회 1,843
19년 전 조회 2,586
19년 전 조회 2,324
19년 전 조회 2,524
19년 전 조회 2,160
19년 전 조회 3,908
19년 전 조회 3,413
19년 전 조회 2,195
19년 전 조회 2,103
19년 전 조회 1,969
19년 전 조회 1,985
19년 전 조회 4,364
🐛 버그신고