다음 페이지가 안넘어 갑니다. 정보
다음 페이지가 안넘어 갑니다.본문
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY style="margin:0px">
<TABLE>
<TR>
<TD><img id="myImg" src="../catalog/01.GIF"></TD>
</TR>
<TR>
<TD align="center" onClick="preImg()"><img src="../catalog/bt_pre.gif"> <img src="../catalog/bt_next.gif"></TD>
</TR>
</TABLE>
<script>
var myImg = document.getElementById("myImg");
Imgs = new Array();
Imgs[0] = "../catalog/01.GIF";
Imgs[1] = "../catalog/02.GIF";
Imgs[2] = "../catalog/03.GIF";
Imgs[3] = "../catalog/04.GIF";
Imgs[4] = "../catalog/05.GIF";
Imgs[5] = "../catalog/06.GIF";
Imgs[6] = "../catalog/07.GIF";
Imgs[7] = "../catalog/08.GIF";
Imgs[8] = "../catalog/09.GIF";
Imgs[9] = "../catalog/10.GIF";
Imgs[10] = "../catalog/11.GIF";
Imgs[11] = "../catalog/12.GIF";
Imgs[12] = "../catalog/13.GIF";
Imgs[13] = "../catalog/14.GIF";
Imgs[14] = "../catalog/15.GIF";
Imgs[15] = "../catalog/16.GIF";
Imgs[16] = "../catalog/17.GIF";
Imgs[17] = "../catalog/18.GIF";
Imgs[18] = "../catalog/19.GIF";
Imgs[19] = "../catalog/20.GIF";
Imgs[20] = "../catalog/21.GIF";
Imgs[21] = "../catalog/22.GIF";
Imgs[22] = "../catalog/23.GIF";
Imgs[23] = "../catalog/24.GIF";
Imgs[24] = "../catalog/25.GIF";
Imgs[25] = "../catalog/26.GIF";
Imgs[26] = "../catalog/27.GIF";
Imgs[27] = "../catalog/28.GIF";
Imgs[28] = "../catalog/29.GIF";
Imgs[29] = "../catalog/30.GIF";
Imgs[30] = "../catalog/31.GIF";
Imgs[31] = "../catalog/32.GIF";
Imgs[32] = "../catalog/33.GIF";
Imgs[33] = "../catalog/34.GIF";
Imgs[34] = "../catalog/35.GIF";
Imgs[35] = "../catalog/36.GIF";
Imgs[36] = "../catalog/37.GIF";
Imgs[37] = "../catalog/38.GIF";
Imgs[38] = "../catalog/39.GIF";
Imgs[39] = "../catalog/40.GIF";
Imgs[40] = "../catalog/41.GIF";
s = 0;
function nextImg() {
s++;
if (s == 0 )
{
alert("마지막페이지입니다.");
s = 40;
}else{
myImg.src = Imgs[s];
}
}
function preImg() {
s--;
if (s == -1 )
{
alert("첫페이지 입니다.");
s = 0;
}else {;
myImg.src = Imgs[s];
}
}
</script>
</BODY>
</HTML>
-----------------------------------------------------------------------------------------
다음 페이지가 안넘어 갑니다. 잘못된 소스가 뭔가요?
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY style="margin:0px">
<TABLE>
<TR>
<TD><img id="myImg" src="../catalog/01.GIF"></TD>
</TR>
<TR>
<TD align="center" onClick="preImg()"><img src="../catalog/bt_pre.gif"> <img src="../catalog/bt_next.gif"></TD>
</TR>
</TABLE>
<script>
var myImg = document.getElementById("myImg");
Imgs = new Array();
Imgs[0] = "../catalog/01.GIF";
Imgs[1] = "../catalog/02.GIF";
Imgs[2] = "../catalog/03.GIF";
Imgs[3] = "../catalog/04.GIF";
Imgs[4] = "../catalog/05.GIF";
Imgs[5] = "../catalog/06.GIF";
Imgs[6] = "../catalog/07.GIF";
Imgs[7] = "../catalog/08.GIF";
Imgs[8] = "../catalog/09.GIF";
Imgs[9] = "../catalog/10.GIF";
Imgs[10] = "../catalog/11.GIF";
Imgs[11] = "../catalog/12.GIF";
Imgs[12] = "../catalog/13.GIF";
Imgs[13] = "../catalog/14.GIF";
Imgs[14] = "../catalog/15.GIF";
Imgs[15] = "../catalog/16.GIF";
Imgs[16] = "../catalog/17.GIF";
Imgs[17] = "../catalog/18.GIF";
Imgs[18] = "../catalog/19.GIF";
Imgs[19] = "../catalog/20.GIF";
Imgs[20] = "../catalog/21.GIF";
Imgs[21] = "../catalog/22.GIF";
Imgs[22] = "../catalog/23.GIF";
Imgs[23] = "../catalog/24.GIF";
Imgs[24] = "../catalog/25.GIF";
Imgs[25] = "../catalog/26.GIF";
Imgs[26] = "../catalog/27.GIF";
Imgs[27] = "../catalog/28.GIF";
Imgs[28] = "../catalog/29.GIF";
Imgs[29] = "../catalog/30.GIF";
Imgs[30] = "../catalog/31.GIF";
Imgs[31] = "../catalog/32.GIF";
Imgs[32] = "../catalog/33.GIF";
Imgs[33] = "../catalog/34.GIF";
Imgs[34] = "../catalog/35.GIF";
Imgs[35] = "../catalog/36.GIF";
Imgs[36] = "../catalog/37.GIF";
Imgs[37] = "../catalog/38.GIF";
Imgs[38] = "../catalog/39.GIF";
Imgs[39] = "../catalog/40.GIF";
Imgs[40] = "../catalog/41.GIF";
s = 0;
function nextImg() {
s++;
if (s == 0 )
{
alert("마지막페이지입니다.");
s = 40;
}else{
myImg.src = Imgs[s];
}
}
function preImg() {
s--;
if (s == -1 )
{
alert("첫페이지 입니다.");
s = 0;
}else {;
myImg.src = Imgs[s];
}
}
</script>
</BODY>
</HTML>
-----------------------------------------------------------------------------------------
다음 페이지가 안넘어 갑니다. 잘못된 소스가 뭔가요?
댓글 전체