아래와 같이 했을경우 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에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5852 | 9년 전 | 606 | ||
| 5851 | 9년 전 | 535 | ||
| 5850 | 9년 전 | 384 | ||
| 5849 | 9년 전 | 294 | ||
| 5848 | 9년 전 | 288 | ||
| 5847 | 9년 전 | 289 | ||
| 5846 | 9년 전 | 268 | ||
| 5845 | 9년 전 | 290 | ||
| 5844 | 9년 전 | 308 | ||
| 5843 | 9년 전 | 402 | ||
| 5842 | 9년 전 | 298 | ||
| 5841 | 9년 전 | 1067 | ||
| 5840 |
|
9년 전 | 1183 | |
| 5839 | 9년 전 | 577 | ||
| 5838 | 9년 전 | 305 | ||
| 5837 | 9년 전 | 362 | ||
| 5836 | 9년 전 | 349 | ||
| 5835 | 9년 전 | 482 | ||
| 5834 | 9년 전 | 327 | ||
| 5833 | 9년 전 | 450 | ||
| 5832 | 9년 전 | 284 | ||
| 5831 | 9년 전 | 268 | ||
| 5830 | 9년 전 | 274 | ||
| 5829 | 9년 전 | 313 | ||
| 5828 | 9년 전 | 288 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기