Ver Mensaje Individual
  #5 (permalink)  
Antiguo 18/04/2002, 11:08
totorroto
 
Fecha de Ingreso: abril-2002
Mensajes: 10
Antigüedad: 22 años
Puntos: 0
Re: problema con un javascript

dhtmlMenu.addItem(new NavBarMenuItem("CONSOLAS", "http://www.infoseek.com"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 150);
dhtmlMenu.addItem(new NavBarMenuItem("FTP", ""));
dhtmlMenu.addItem(new NavBarMenuItem("LISTAS FTPZ", "http://www.forosdelweb.com"));
dhtmlMenu.addItem(new NavBarMenuItem("UTILIDADES", "http://www.desarrolloweb.com"));
myNavBar1.addMenu(dhtmlMenu);

dhtmlMenu = new NavBarMenu(100, 150);
dhtmlMenu.addItem(new NavBarMenuItem("FOROS", ""));
dhtmlMenu.addItem(new NavBarMenuItem("DECODIFICACION", "http://www.forosdelweb.com"));
dhtmlMenu.addItem(new NavBarMenuItem("GAMES", "http://www.forosdelweb.com"));
dhtmlMenu.addItem(new NavBarMenuItem("FTPZ", "http://www.forosdelweb.com"));
myNavBar1.addMenu(dhtmlMenu);

//set menu colors
myNavBar1.setColors("#ffffff","#fff fff","#000000","#ffffff", "#6B6B6B","#000000","#C0C 0C0","#ffffff","#8A0000")
myNavBar1.setFonts("Arial","plain&q uot;,"bold","11px","Arial ","plain","bold","11 px");

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