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

· 19년 전 · 1982
<!--#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,345
19년 전 조회 3,197
19년 전 조회 1,824
19년 전 조회 2,738
19년 전 조회 7,824
19년 전 조회 2,498
19년 전 조회 3,108
19년 전 조회 2,856
19년 전 조회 3,012
19년 전 조회 2,217
19년 전 조회 2,448
19년 전 조회 4,072
19년 전 조회 2,223
19년 전 조회 4,225
19년 전 조회 2,383
19년 전 조회 2,077
19년 전 조회 2,328
19년 전 조회 1,869
19년 전 조회 2,405
19년 전 조회 2,195
19년 전 조회 3,066
19년 전 조회 1,848
19년 전 조회 3,544
19년 전 조회 2,697
19년 전 조회 3,444
19년 전 조회 3,446
19년 전 조회 3,145
19년 전 조회 5,435
19년 전 조회 2,164
19년 전 조회 2,218
19년 전 조회 2,312
19년 전 조회 3,391
19년 전 조회 3,699
19년 전 조회 3,745
19년 전 조회 2,351
19년 전 조회 2,394
19년 전 조회 2,686
19년 전 조회 3,035
19년 전 조회 2,458
19년 전 조회 2,623
19년 전 조회 2,445
19년 전 조회 2,205
19년 전 조회 3,230
19년 전 조회 3,290
19년 전 조회 3,027
19년 전 조회 4,862
19년 전 조회 2,692
19년 전 조회 3,304
19년 전 조회 3,133
19년 전 조회 1,983
19년 전 조회 3,123
19년 전 조회 1,869
19년 전 조회 2,333
19년 전 조회 2,405
19년 전 조회 3,985
19년 전 조회 3,172
19년 전 조회 3,096
19년 전 조회 2,539
19년 전 조회 1,999
19년 전 조회 1,641
19년 전 조회 2,412
19년 전 조회 2,331
19년 전 조회 1,820
19년 전 조회 1,817
19년 전 조회 2,604
19년 전 조회 2,580
19년 전 조회 1,879
19년 전 조회 2,110
19년 전 조회 3,295
19년 전 조회 1,952
19년 전 조회 2,495
19년 전 조회 2,568
19년 전 조회 2,663
19년 전 조회 2,938
19년 전 조회 2,564
19년 전 조회 2,978
19년 전 조회 2,760
19년 전 조회 3,513
19년 전 조회 1,871
19년 전 조회 2,734
19년 전 조회 2,371
19년 전 조회 2,020
19년 전 조회 2,428
19년 전 조회 1,875
19년 전 조회 5,441
19년 전 조회 2,261
19년 전 조회 4,244
19년 전 조회 2,297
19년 전 조회 1,848
19년 전 조회 2,591
19년 전 조회 2,334
19년 전 조회 2,528
19년 전 조회 2,171
19년 전 조회 3,912
19년 전 조회 3,416
19년 전 조회 2,200
19년 전 조회 2,107
19년 전 조회 1,975
19년 전 조회 1,994
19년 전 조회 4,373
🐛 버그신고