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

· 19년 전 · 1981
<!--#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,341
19년 전 조회 3,194
19년 전 조회 1,823
19년 전 조회 2,734
19년 전 조회 7,823
19년 전 조회 2,497
19년 전 조회 3,104
19년 전 조회 2,853
19년 전 조회 3,011
19년 전 조회 2,216
19년 전 조회 2,446
19년 전 조회 4,070
19년 전 조회 2,222
19년 전 조회 4,222
19년 전 조회 2,381
19년 전 조회 2,076
19년 전 조회 2,326
19년 전 조회 1,866
19년 전 조회 2,404
19년 전 조회 2,194
19년 전 조회 3,062
19년 전 조회 1,845
19년 전 조회 3,540
19년 전 조회 2,695
19년 전 조회 3,441
19년 전 조회 3,442
19년 전 조회 3,145
19년 전 조회 5,432
19년 전 조회 2,164
19년 전 조회 2,215
19년 전 조회 2,309
19년 전 조회 3,390
19년 전 조회 3,698
19년 전 조회 3,743
19년 전 조회 2,349
19년 전 조회 2,392
19년 전 조회 2,686
19년 전 조회 3,033
19년 전 조회 2,456
19년 전 조회 2,622
19년 전 조회 2,444
19년 전 조회 2,203
19년 전 조회 3,229
19년 전 조회 3,289
19년 전 조회 3,024
19년 전 조회 4,858
19년 전 조회 2,687
19년 전 조회 3,301
19년 전 조회 3,132
19년 전 조회 1,982
19년 전 조회 3,122
19년 전 조회 1,863
19년 전 조회 2,332
19년 전 조회 2,402
19년 전 조회 3,983
19년 전 조회 3,167
19년 전 조회 3,094
19년 전 조회 2,536
19년 전 조회 1,998
19년 전 조회 1,640
19년 전 조회 2,409
19년 전 조회 2,328
19년 전 조회 1,817
19년 전 조회 1,814
19년 전 조회 2,602
19년 전 조회 2,577
19년 전 조회 1,876
19년 전 조회 2,109
19년 전 조회 3,293
19년 전 조회 1,948
19년 전 조회 2,491
19년 전 조회 2,566
19년 전 조회 2,660
19년 전 조회 2,934
19년 전 조회 2,561
19년 전 조회 2,976
19년 전 조회 2,759
19년 전 조회 3,512
19년 전 조회 1,870
19년 전 조회 2,731
19년 전 조회 2,369
19년 전 조회 2,018
19년 전 조회 2,426
19년 전 조회 1,870
19년 전 조회 5,438
19년 전 조회 2,258
19년 전 조회 4,241
19년 전 조회 2,296
19년 전 조회 1,847
19년 전 조회 2,589
19년 전 조회 2,330
19년 전 조회 2,527
19년 전 조회 2,167
19년 전 조회 3,910
19년 전 조회 3,415
19년 전 조회 2,198
19년 전 조회 2,106
19년 전 조회 1,973
19년 전 조회 1,990
19년 전 조회 4,370
🐛 버그신고