플래시메뉴에서 자바스크립트로 팝업창을띄우려고합니다...
잘찾아바도 잘안됩니다.
어떠한명령어를 저야되는건가요???
link = new Array();
link[1] = "http://coumong.com/";
link[2] = "#";
link[3] = "http://coumong.com";
//link[3] = "http://coumong.com/?main=old&cateCode=14";
link[4] = "#";
link[5] = "javascript:pop_win();" 이부분입니다.
link[6] = "#";
link[7] = "http://coumong.com/?Pid=u04b04";
// 메인버튼 링크 주소
frame = new Array();
frame[1] = "_self";
frame[2] = "_self";
frame[3] = "_self";
frame[4] = "_self";
frame[5] = "_blank";
frame[6] = "_self";
frame[7] = "_self";
numOfMenu = 7;
// 메뉴 개수
_global.active = _root.pageNum;
// 현재 활성화된 메인버튼을 저장합니다.
// pageNum은 htm파일에서 지정됩니다.
_global.over = active;
function aa() {
for (i=1; i<=numOfMenu; i++) {
this["menu"+i].bg.gotoAndStop(i);
this["menu"+i].bg.onRollOver = function() {
_global.over = Number(this._parent._name.substr(4));
};
this["menu"+i].bg.onRollOut = this["menu"+i].bg.onDragOut=function () {
_global.over = active;
};
this["menu"+i].bg.onRelease = function() {
getURL(link[this._parent._name.substr(4)], frame[this._parent._name.substr(4)]);
// 메인버튼 링크
};
this["menu"+i].onEnterFrame = function() {
var temp1 = Number(this._name.substr(4));
if (over == temp1) {
this.direction = "next";
this.nextFrame();
} else {
this.direction = "prev";
this.prevFrame();
this.prevFrame();
}
};
}
}
aa();
잘찾아바도 잘안됩니다.
어떠한명령어를 저야되는건가요???
link = new Array();
link[1] = "http://coumong.com/";
link[2] = "#";
link[3] = "http://coumong.com";
//link[3] = "http://coumong.com/?main=old&cateCode=14";
link[4] = "#";
link[5] = "javascript:pop_win();" 이부분입니다.
link[6] = "#";
link[7] = "http://coumong.com/?Pid=u04b04";
// 메인버튼 링크 주소
frame = new Array();
frame[1] = "_self";
frame[2] = "_self";
frame[3] = "_self";
frame[4] = "_self";
frame[5] = "_blank";
frame[6] = "_self";
frame[7] = "_self";
numOfMenu = 7;
// 메뉴 개수
_global.active = _root.pageNum;
// 현재 활성화된 메인버튼을 저장합니다.
// pageNum은 htm파일에서 지정됩니다.
_global.over = active;
function aa() {
for (i=1; i<=numOfMenu; i++) {
this["menu"+i].bg.gotoAndStop(i);
this["menu"+i].bg.onRollOver = function() {
_global.over = Number(this._parent._name.substr(4));
};
this["menu"+i].bg.onRollOut = this["menu"+i].bg.onDragOut=function () {
_global.over = active;
};
this["menu"+i].bg.onRelease = function() {
getURL(link[this._parent._name.substr(4)], frame[this._parent._name.substr(4)]);
// 메인버튼 링크
};
this["menu"+i].onEnterFrame = function() {
var temp1 = Number(this._name.substr(4));
if (over == temp1) {
this.direction = "next";
this.nextFrame();
} else {
this.direction = "prev";
this.prevFrame();
this.prevFrame();
}
};
}
}
aa();
댓글 2개
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기