Ver Mensaje Individual
  #3 (permalink)  
Antiguo 31/07/2003, 03:19
Troyus
 
Fecha de Ingreso: julio-2003
Ubicación: Almeria
Mensajes: 7
Antigüedad: 21 años, 5 meses
Puntos: 0
El codigo completo es:

<script language="JavaScript" src="navcond.js">
</script>

<script language="JavaScript">

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(70, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Inicio", "inicio.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 100);
dhtmlMenu.addItem(new NavBarMenuItem("Programas", ""));
dhtmlMenu.addItem(new NavBarMenuItem("Downloads", "programas.html"));
dhtmlMenu.addItem(new NavBarMenuItem("Pedir un programa", "outlookpedidodeprograma.htm"));
dhtmlMenu.addItem(new NavBarMenuItem("¿Enlance roto?", "outlookenlaceroto.htm"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Aprende A...", "aprende a.html"));
myNavBar1.addMenu(dhtmlMenu);


dhtmlMenu = new NavBarMenu(100, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Emuladores", "emuladores.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(70, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Foro", "http://cosas-raras.foro.st"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(90, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Edonkey", "edonkey.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Paranoias", "paranoias.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Windows XP", "windowsxp.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(90, 100);
dhtmlMenu.addItem(new NavBarMenuItem("Libro Visitas", "http://gbooks.melodysoft.com/Cosas-Raras/" ));
dhtmlMenu.addItem(new NavBarMenuItem("Leer Libro", "http://miarroba.com/libros/leer.php?id=54401" ));
dhtmlMenu.addItem(new NavBarMenuItem("Firmar Libro", "http://miarroba.com/libros/firmar.php?id=54401" ));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(90, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Galeria X", "galeria x.html"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(70, 0);
dhtmlMenu.addItem(new NavBarMenuItem("Links", "links.html"));
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");
myNavBar1.setAlign("center")

//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>

No se si puedo Indicar el frame de destino de mis links del menu,por defecto se me abren en el mismo frame,pero kiero ke me se me habran en otra ventana,gracias