cepiscipher
Programmer
Hello
I have this script:
How can I target a frame in this part of the script:
Thanks
I have this script:
Code:
<script language="JavaScript">
function menuRedirect(){
var select = eval(window.redirectForm.elements[0].selectedIndex);
var choise1 = "../html/menu/azul/index.htm";
var choise2 = "../html/menu/chinita/index.htm";
if (select==0) void(0);
else if (select==1) {window.open(choise1,"menu"); cRedirect(choise1);}
else if (select==2) {window.open(choise2,"menu"); cRedirect(choise2);}
}
</script>
How can I target a frame in this part of the script:
Code:
var choise1 = "../html/menu/azul/index.htm";
Thanks