Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/12/2004, 17:16
Avatar de christopher1979
christopher1979
 
Fecha de Ingreso: octubre-2004
Mensajes: 203
Antigüedad: 20 años, 5 meses
Puntos: 0
menus despegables

hola tengo un pequeño problemilla en este codigo no se como hacer que desaparesca mis submenus me pueden ayudar gracias este es mi codigo;



}

function menu(num){
if(browser){
if(!stayFolded){
for(i=0;i<oSub.length;i++){
if(i!=num){
aqui esta el problema
oTop[i].ref['imgA'+i].src=unImg.src

}
}
for(i=1;i<oTop.length;i++){
oTop[i].moveIt(0,oTop[i-1].y+oTop[i-1].height)
}
}
if(oSub[num].vis()){
oSub[num].showIt()
oTop[num].ref['imgA'+num].src=exImg.src
}else{
oSub[num].hideIt()
oTop[num].ref['imgA'+num].src=unImg.src
}
for(i=1;i<oTop.length;i++){
if(!oSub[i-1].vis()) oTop[i].moveIt(0,oTop[i-1].y+oTop[i-1].height+oSub[i-1].height)
else oTop[i].moveIt(0,oTop[i-1].y+oTop[i-1].height)
}
}
}

if(browser) onload=init;