Ciao a tutti raga come va?
Sono a chiedervi una cortesia con uno script cosi come faccio a digli di aprirmi il link in una flame chiamato centro ?
link = new Array();
frame = new Array();
//
link[1] = "home.htm";
link[2] = "storia.htm";
link[3] = "piatti.php";
link[4] = "eventi.php";
link[5] = "dove.htm";
link[6] = "contatti.htm";
// Link Address
frame[1] = "_self";
frame[2] = "_self";
frame[3] = "_self";
frame[4] = "_self";
frame[5] = "_self";
frame[6] = "_self";
// Target Frame
numOfMenu = 6;
// Number of Menu
//
//
//
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
//
//
//
//
_global.active = pageNum;
if (!active) {
_global.active = 0;
}
_global.over = active;
for (i=1; i<=numOfMenu; i++) {
this[i].bg.onRollOver = function() {
_global.over = this._parent._name;
};
this[i].bg.onRollOut = this[i].bg.onDragOut=function () {
_global.over = active;
};
this[i].bg.onRelease = function() {
getURL(link[this._parent._name], frame[this._parent._name]);
};
this[i].onEnterFrame = function() {
if (over == this._name) {
this.nextFrame();
} else {
this.prevFrame();
}
};
}
grazie in anticipo non so più come fare?