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

· 19년 전 · 1980
<!--#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,340
19년 전 조회 3,192
19년 전 조회 1,821
19년 전 조회 2,733
19년 전 조회 7,822
19년 전 조회 2,495
19년 전 조회 3,102
19년 전 조회 2,852
19년 전 조회 3,009
19년 전 조회 2,215
19년 전 조회 2,445
19년 전 조회 4,067
19년 전 조회 2,222
19년 전 조회 4,221
19년 전 조회 2,379
19년 전 조회 2,075
19년 전 조회 2,323
19년 전 조회 1,865
19년 전 조회 2,402
19년 전 조회 2,193
19년 전 조회 3,062
19년 전 조회 1,843
19년 전 조회 3,539
19년 전 조회 2,695
19년 전 조회 3,440
19년 전 조회 3,441
19년 전 조회 3,143
19년 전 조회 5,430
19년 전 조회 2,164
19년 전 조회 2,214
19년 전 조회 2,308
19년 전 조회 3,389
19년 전 조회 3,696
19년 전 조회 3,741
19년 전 조회 2,348
19년 전 조회 2,390
19년 전 조회 2,684
19년 전 조회 3,032
19년 전 조회 2,456
19년 전 조회 2,621
19년 전 조회 2,443
19년 전 조회 2,202
19년 전 조회 3,228
19년 전 조회 3,287
19년 전 조회 3,024
19년 전 조회 4,858
19년 전 조회 2,687
19년 전 조회 3,301
19년 전 조회 3,131
19년 전 조회 1,981
19년 전 조회 3,121
19년 전 조회 1,863
19년 전 조회 2,331
19년 전 조회 2,402
19년 전 조회 3,981
19년 전 조회 3,166
19년 전 조회 3,092
19년 전 조회 2,536
19년 전 조회 1,995
19년 전 조회 1,638
19년 전 조회 2,407
19년 전 조회 2,327
19년 전 조회 1,816
19년 전 조회 1,813
19년 전 조회 2,602
19년 전 조회 2,577
19년 전 조회 1,875
19년 전 조회 2,107
19년 전 조회 3,293
19년 전 조회 1,947
19년 전 조회 2,491
19년 전 조회 2,566
19년 전 조회 2,657
19년 전 조회 2,934
19년 전 조회 2,560
19년 전 조회 2,974
19년 전 조회 2,758
19년 전 조회 3,511
19년 전 조회 1,868
19년 전 조회 2,730
19년 전 조회 2,368
19년 전 조회 2,018
19년 전 조회 2,425
19년 전 조회 1,869
19년 전 조회 5,437
19년 전 조회 2,255
19년 전 조회 4,240
19년 전 조회 2,296
19년 전 조회 1,845
19년 전 조회 2,587
19년 전 조회 2,330
19년 전 조회 2,526
19년 전 조회 2,163
19년 전 조회 3,910
19년 전 조회 3,415
19년 전 조회 2,198
19년 전 조회 2,104
19년 전 조회 1,972
19년 전 조회 1,989
19년 전 조회 4,369
🐛 버그신고