아래와 같이 했을경우 10번~13번이 같이 에러가 납니다.
http://civilpe.or.kr/sos.php 이런식으로요....
어디를 수정해야 할까요??
link = new Array();
link[1] = "/bbs/board.php?bo_table=menu5_1";
link[2] = "/bbs/board.php?bo_table=menu5_2";
link[3] = "/bbs/board.php?bo_table=menu5_3";
link[4] = "/bbs/board.php?bo_table=menu5_4";
link[5] = "/bbs/board.php?bo_table=menu5_5";
link[6] = "/bbs/board.php?bo_table=menu5_6";
link[7] = "/bbs/board.php?bo_table=menu5_7";
link[8] = "/bbs/board.php?bo_table=menu5_8";
link[9] = "/bbs/board.php?bo_table=menu5_9";
link[10] = "/bbs/board.php?bo_table=menu5_10";
link[11] = "/bbs/board.php?bo_table=menu5_11";
link[12] = "/bbs/board.php?bo_table=menu5_12";
link[13] = "/bbs/board.php?bo_table=menu5_13";
link[1] = "/bbs/board.php?bo_table=menu5_1";
link[2] = "/bbs/board.php?bo_table=menu5_2";
link[3] = "/bbs/board.php?bo_table=menu5_3";
link[4] = "/bbs/board.php?bo_table=menu5_4";
link[5] = "/bbs/board.php?bo_table=menu5_5";
link[6] = "/bbs/board.php?bo_table=menu5_6";
link[7] = "/bbs/board.php?bo_table=menu5_7";
link[8] = "/bbs/board.php?bo_table=menu5_8";
link[9] = "/bbs/board.php?bo_table=menu5_9";
link[10] = "/bbs/board.php?bo_table=menu5_10";
link[11] = "/bbs/board.php?bo_table=menu5_11";
link[12] = "/bbs/board.php?bo_table=menu5_12";
link[13] = "/bbs/board.php?bo_table=menu5_13";
numOfMainBtn = 13;
_global.active = PageNum;
_global.over = 1;
for (i = 1; i <= numOfMainBtn; i++)
{
this["m"+i].defaultY = this["m"+i]._y;
this["m"+i].bg.onRollOver = function ()
{
_global.over = this._parent._name.charAt(1);
};
this["m"+i].bg.onRelease = function ()
{
getURL(link[this._parent._name.charAt(1)], "");
};
this["m"+i].onEnterFrame = function ()
{
if (over == this._name.charAt(1))
{
this.direction = "next";
this.nextFrame();
}
else
{
this.direction = "prev";
this.prevFrame();
} // end if
};
} // end of for
this.onEnterFrame = function ()
{
for (i = 2; i <= numOfMainBtn; i++)
{
this["m"+i].y = this["m"+i].y + (this[("m"+i) - 1]._y + this[("m"+i) - 1]._height - this["m"+i]._y) / 14;
} // end of for
};
_global.active = PageNum;
_global.over = 1;
for (i = 1; i <= numOfMainBtn; i++)
{
this["m"+i].defaultY = this["m"+i]._y;
this["m"+i].bg.onRollOver = function ()
{
_global.over = this._parent._name.charAt(1);
};
this["m"+i].bg.onRelease = function ()
{
getURL(link[this._parent._name.charAt(1)], "");
};
this["m"+i].onEnterFrame = function ()
{
if (over == this._name.charAt(1))
{
this.direction = "next";
this.nextFrame();
}
else
{
this.direction = "prev";
this.prevFrame();
} // end if
};
} // end of for
this.onEnterFrame = function ()
{
for (i = 2; i <= numOfMainBtn; i++)
{
this["m"+i].y = this["m"+i].y + (this[("m"+i) - 1]._y + this[("m"+i) - 1]._height - this["m"+i]._y) / 14;
} // end of for
};
stop ();
댓글 1개
13년 전
안뜹니다 ㅜ_ㅜ
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5902 | 9년 전 | 304 | ||
| 5901 | 9년 전 | 323 | ||
| 5900 | 9년 전 | 324 | ||
| 5899 | 9년 전 | 798 | ||
| 5898 | 9년 전 | 283 | ||
| 5897 | 9년 전 | 293 | ||
| 5896 | 9년 전 | 208 | ||
| 5895 | 9년 전 | 741 | ||
| 5894 | 9년 전 | 361 | ||
| 5893 | 9년 전 | 349 | ||
| 5892 | 9년 전 | 405 | ||
| 5891 | 9년 전 | 409 | ||
| 5890 | 9년 전 | 457 | ||
| 5889 | 9년 전 | 320 | ||
| 5888 | 9년 전 | 216 | ||
| 5887 | 9년 전 | 306 | ||
| 5886 | 9년 전 | 248 | ||
| 5885 | 9년 전 | 268 | ||
| 5884 | 9년 전 | 254 | ||
| 5883 | 9년 전 | 268 | ||
| 5882 | 9년 전 | 291 | ||
| 5881 | 9년 전 | 317 | ||
| 5880 | 9년 전 | 232 | ||
| 5879 | 9년 전 | 248 | ||
| 5878 | 9년 전 | 424 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기