Respuesta: Ayuda con botones .Js Tincho, gracias por contestar el codigo html es el siguiente:
<html>
<head>
<title>Webstyle produced NavBar</title>
</head>
<body bgcolor="#191818" text="BLACK">
<script src="xaramenu.js"></script><script Webstyle4 src="menu_desplegable.js"></script>
</body></html>
y sin entender demasiado calculo que el codigo que me pedis es el .Js, es asi:
//©Xara Ltd
if(typeof(loc)=="undefined"||loc==""){var loc="";if(document.body&&document.body.innerHTML){ var tt=document.body.innerHTML;var ml=tt.match(/["']([^'"]*)menu_desplegable.js["']/i);if(ml && ml.length > 1) loc=ml[1];}}
var bd=0
document.write("<style type=\"text/css\">");
document.write("\n<!--\n");
document.write(".menu_desplegable_menu {z-index:999;border-color:#000000;border-style:solid;border-width:"+bd+"px 0px "+bd+"px 0px;background-color:#555252;position:absolute;left:0px;top:0px;v isibility:hidden;}");
document.write(".menu_desplegable_plain, a.menu_desplegable_plain:link, a.menu_desplegable_plain:visited{text-align:left;background-color:#555252;color:#ffffff;text-decoration:none;border-color:#000000;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:9pt;font-family:Tahoma, Verdana, Arial, sans-serif;font-weight:bold;}");
document.write("a.menu_desplegable_plain:hover, a.menu_desplegable_plain:active{background-color:#aaa8a8;color:#000000;text-decoration:none;border-color:#000000;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:9pt;font-family:Tahoma, Verdana, Arial, sans-serif;font-weight:bold;}");
document.write("a.menu_desplegable_l:link, a.menu_desplegable_l:visited{text-align:left;background:#555252 url("+loc+"menu_desplegable_l.gif) no-repeat right;color:#ffffff;text-decoration:none;border-color:#000000;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:9pt;font-family:Tahoma, Verdana, Arial, sans-serif;font-weight:bold;}");
document.write("a.menu_desplegable_l:hover, a.menu_desplegable_l:active{background:#aaa8a8 url("+loc+"menu_desplegable_l2.gif) no-repeat right;color: #000000;text-decoration:none;border-color:#000000;border-style:solid;border-width:0px "+bd+"px 0px "+bd+"px;padding:2px 0px 2px 0px;cursor:hand;display:block;font-size:9pt;font-family:Tahoma, Verdana, Arial, sans-serif;font-weight:bold;}");
document.write("\n-->\n");
document.write("</style>");
var fc=0x000000;
var bc=0xaaa8a8;
if(typeof(frames)=="undefined"){var frames=0;}
startMainMenu("menu_desplegable_left.gif",22,14,2, 0,0)
mainMenuItem("menu_desplegable_b1",".gif",22,156," javascript:;","","La empresa",2,2,"menu_desplegable_plain");
mainMenuItem("menu_desplegable_b2",".gif",22,156," javascript:;","","Productos",2,2,"menu_desplegable _plain");
mainMenuItem("menu_desplegable_b3",".gif",22,156," javascript:;","","Calidad",2,2,"menu_desplegable_p lain");
mainMenuItem("menu_desplegable_b4",".gif",22,156," javascript:;","","Contacto",2,2,"menu_desplegable_ plain");
endMainMenu("menu_desplegable_right.gif",22,14)
startSubmenu("menu_desplegable_b3","menu_desplegab le_menu",156);
submenuItem("Politica de calidad","javascript:;","","menu_desplegable_plain ");
submenuItem("Certificaciones","javascript:;","","m enu_desplegable_plain");
submenuItem("Laboratorio","javascript:;","","menu_ desplegable_plain");
endSubmenu("menu_desplegable_b3");
startSubmenu("menu_desplegable_b2_2","menu_despleg able_menu",162);
submenuItem("Unipolares p/electronica","javascript:;","","menu_desplegable_p lain");
submenuItem("Coaxiles","javascript:;","","menu_des plegable_plain");
submenuItem("Deteccion de incendio","javascript:;","","menu_desplegable_plai n");
submenuItem("Portero visor","javascript:;","","menu_desplegable_plain") ;
submenuItem("Pares Telefonicos","javascript:;","","menu_desplegable_p lain");
submenuItem("Portero","javascript:;","","menu_desp legable_plain");
endSubmenu("menu_desplegable_b2_2");
startSubmenu("menu_desplegable_b2_1","menu_despleg able_menu",102);
submenuItem("Unipolares","javascript:;","","menu_d esplegable_plain");
submenuItem("Tipo Taller","javascript:;","","menu_desplegable_plain" );
submenuItem("Vaina redonda","javascript:;","","menu_desplegable_plain ");
submenuItem("Paralelos","javascript:;","","menu_de splegable_plain");
endSubmenu("menu_desplegable_b2_1");
startSubmenu("menu_desplegable_b2","menu_desplegab le_menu",156);
mainMenuItem("menu_desplegable_b2_1","Cables electricos",0,0,"javascript:;","","",1,1,"menu_des plegable_l");
mainMenuItem("menu_desplegable_b2_2","Cables datos",0,0,"javascript:;","","",1,1,"menu_desplega ble_l");
endSubmenu("menu_desplegable_b2");
startSubmenu("menu_desplegable_b1","menu_desplegab le_menu",156);
submenuItem("Breve reseña historica","javascript:;","","menu_desplegable_pla in");
endSubmenu("menu_desplegable_b1");
loc="";
esto es el Js abierto con dreamwaever.
Espero que puedas ayudarme y si no igualmente mil gracias por respoder mi pedido!
Saludos! |