resulta que tengo un menu en javascript en un frame( la pagina tiene 2 frames uno superior y otro inferior que se supone tendra el contenido) el menu esta en el superior pero quiero que cuando se haga click en un vinculo del menu se abra en el frame inferior y no en el superior donde esta el menu el codigo de l menu es:
<script language="JavaScript" src="navcond.js">
</script>
<script language="JavaScript">
/*
Top Navigational Bar II (By Mike Hall @ Brainjar.com)
*/
var myNavBar1 = new NavBar(0);
var dhtmlMenu;
//define menu items (first parameter of NavBarMenu specifies main category width, second specifies sub category width in pixels)
//add more menus simply by adding more "blocks" of same code below
dhtmlMenu = new NavBarMenu(100, 100);
dhtmlMenu.addItem(new NavBarMenuItem("Inicio", "index.htm"));
myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(100, 120);
dhtmlMenu.addItem(new NavBarMenuItem("Banda", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Historia", "historia.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("Integrantes", "ventanafull.htm"));
myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(110, 120);
dhtmlMenu.addItem(new NavBarMenuItem("Discos", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Discografia", "http://www.lavariable.com"));
dhtmlMenu.addItem(new NavBarMenuItem("Letras", "http://www.programacion.net"));
myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(100, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Archivos", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Mp3", "http://www.yahoo.com"));
dhtmlMenu.addItem(new NavBarMenuItem("Fotos", "http://www.altavista.com"));
dhtmlMenu.addItem(new NavBarMenuItem("Videos", "http://www.infoseek.com"));
myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(100, 150);
dhtmlMenu.addItem(new NavBarMenuItem("Links", ""));
dhtmlMenu.addItem(new NavBarMenuItem("1", "http://www.forosdelweb.com"));
dhtmlMenu.addItem(new NavBarMenuItem("2", "http://www.desarrolloweb.com"));
dhtmlMenu.addItem(new NavBarMenuItem("3", "http://javascript.internet.com"));
myNavBar1.addMenu(dhtmlMenu);
dhtmlMenu = new NavBarMenu(100, 180);
dhtmlMenu.addItem(new NavBarMenuItem("Otros", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Mail", "http://www.desarrolloweb.com"));
dhtmlMenu.addItem(new NavBarMenuItem("Foro", "http://javascript.internet.com"));
dhtmlMenu.addItem(new NavBarMenuItem("Encuesta", "http://javascript.internet.com"));
myNavBar1.addMenu(dhtmlMenu);
//set menu colors
myNavBar1.setColors("#ffffff","#ffffff","#000000", "#ffffff","#6B6B6B","#000000","#C0C0C0","#ffffff", "#8A0000")
myNavBar1.setFonts("Arial","plain","bold","11px"," Arial","plain","bold","11px");
//uncomment below line to center the menu (valid values are "left", "center", and "right"
//myNavBar1.setAlign("center")
var fullWidth;
function init() {
// Get width of window, need to account for scrollbar width in Netscape.
fullWidth = getWindowWidth()
- (isMinNS4 && getWindowHeight() < getPageHeight() ? 16 : 0);
myNavBar1.resize(fullWidth);
myNavBar1.create();
myNavBar1.setzIndex(2);
}
</script>
gracias------>NO sabes cuanto me ayudarian solucionando este lio