[ Foro de Javascript ]

Menu de sitio web

03-May-2017 05:18
Victor Colman
0 Respuestas

Hola.
Quiero saber como insertar en una sola pagina este codigo y luego poder adjuntar como estilo a todas las paginas nuevas:
<script type="text/javascript" src="stmenu.js"></script>
<script type="text/javascript">
<!--
stm_bm(["menu2a46",900,"","blank.gif",0,"","",1,0,250,0,1000,1,0,0,"","980",0,0,1,2,"hand","hand","",1,25],this);
stm_bp("p0",[0,4,0,0,0,3,12,7,100,"",-2,"",-2,50,0,0,"#999999","transparent","",0,0,0,"#000000"]);
stm_ai("p0i0",[0,"INICIO","","",-1,-1,0,"index.html","_self","","INICIO","flashdian.gif","flashdian1.gif",12,6,0,"","",0,0,0,0,1,"#272726",0,"#272726",0,"","",0,0,0,0,"#272726","#272726","#FFFF00","#00FFFF","8pt 'Arial','Verdana'","8pt 'Arial','Verdana'",0,0,"","","","",0,0,0],150,0);
stm_aix("p0i1","p0i0",[0,"RUBROS","","",-1,-1,0,"#","_self","","","flashdian.gif","flashdian1.gif",12,6,0,"arrow_r.gif","arrow_r.gif",7,7],150,0);
stm_bp("p1",[1,4,0,0,2,3,12,7,100,"",-2,"",-2,50,0,0,"#999999","transparent","",0,0,0,"#272726"]);
stm_aix("p1i0","p0i0",[0,"AGENTES DE SEGUROS","","",-1,-1,0,"agentesdeseguros.html","_self","",""],200,0);
stm_aix("p1i1","p0i1",[0,"AUTOREPUESTOS"],200,0);
stm_bpx("p2","p1",[1,2,0,0,2,3,12,0]);
stm_aix("p2i0","p1i0",[0,"AV. ACCESO SUR","","",-1,-1,0,"araccesosur.html"],215,0);
stm_aix("p2i1","p1i0",[0,"AV. CACIQUE LAMBARE","","",-1,-1,0,"arcaciquelambare.html"],215,0);
stm_aix("p2i2","p1i0",[0,"AV. DEFENSORES DEL CHACO","","",-1,-1,0,"ardefensores.html"],215,0);
stm_aix("p2i3","p1i0",[0,"AV. DE LA VICTORIA","","",-1,-1,0,"ardelavictoria.html"],215,0);
stm_aix("p2i4","p1i0",[0,"AV. EUSEBIO AYALA","","",-1,-1,0,"areusebioayala.html"],215,0);
stm_aix("p2i5","p1i0",[0,"AV. FERNANDO DE LA MORA","","",-1,-1,0,"aravfernando.html"],215,0);
stm_aix("p2i6","p1i0",[0,"RUTA MCAL. ESTIGARRIBIA","","",-1,-1,0,"armcalestigarribia.html","_top"],215,0);
stm_aix("p2i7","p2i6",[0,"RUTA 1 MCAL. FRANCISCO S. LOPEZ","","",-1,-1,0,"arruta1.html"],215,0);
stm_ep();
stm_aix("p1i2","p0i1",[0,"BATERIAS"],200,0);
stm_bpx("p3","p2",[]);
stm_aix("p3i0","p1i0",[0,"AV. ACCESO SUR","","",-1,-1,0,"baaccesosur.html"],215,0);
stm_aix("p3i1","p1i0",[0,"AV. CACIQUE LAMBARE","","",-1,-1,0,"#"],215,0);
stm_aix("p3i2","p3i1",[0,"AV. DEFENSORES DEL CHACO"],215,0);
stm_aix("p3i3","p3i1",[0,"AV. DE LA VICTORIA"],215,0);
stm_aix("p3i4","p1i0",[0,"AV. EUSEBIO AYALA","","",-1,-1,0,"baeusebioayala.html"],215,0);
stm_aix("p3i5","p3i1",[0,"AV. FERNANDO DE LA MORA"],215,0);
stm_aix("p3i6","p2i6",[0,"RUTA MCAL. ESTIGARRIBIA","","",-1,-1,0,"#"],215,0);
stm_aix("p3i7","p3i6",[0,"RUTA 1 MCAL. FRANCISCO S. LOPEZ"],215,0);
stm_ep();
stm_aix("p1i3","p0i1",[0,"CONCESIONARIAS DE USADOS"],200,0);
stm_bpx("p4","p2",[]);
stm_aix("p4i0","p1i0",[0,"AV. ACCESO SUR","","",-1,-1,0,"auaccesosur.html"],215,0);
stm_aix("p4i1","p3i1",[],215,0);
stm_aix("p4i2","p3i2",[],215,0);
stm_aix("p4i3","p3i3",[],215,0);
stm_aix("p4i4","p3i1",[0,"AV. EUSEBIO AYALA"],215,0);
stm_aix("p4i5","p3i5",[],215,0);
stm_aix("p4i6","p3i6",[],215,0);
stm_aix("p4i7","p3i7",[],215,0);
stm_ep();
stm_aix("p1i4","p3i1",[0,"CONCESIONARIAS DE 0 KM"],200,0);
stm_aix("p1i5","p0i1",[0,"EQUIPAMIENTOS Y ACCESORIOS"],200,0);
stm_bpx("p5","p2",[]);
stm_aix("p5i0","p1i0",[0,"AV. ACCESO SUR","","",-1,-1,0,"eqaccesosur.html"],215,0);
stm_aix("p5i1","p3i1",[],215,0);
stm_aix("p5i2","p3i2",[],215,0);
stm_aix("p5i3","p3i3",[],215,0);
stm_aix("p5i4","p4i4",[],215,0);
stm_aix("p5i5","p3i5",[],215,0);
stm_aix("p5i6","p3i6",[],215,0);
stm_aix("p5i7","p3i7",[],215,0);
stm_ep();
stm_aix("p1i6","p0i1",[0,"LUBRICANTES"],200,0);
stm_bpx("p6","p2",[]);
stm_aix("p6i0","p1i0",[0,"AV. ACCESO SUR","","",-1,-1,0,"luaccesosur.html"],215,0);
stm_aix("p6i1","p3i1",[],215,0);
stm_aix("p6i2","p3i2",[],215,0);
stm_aix("p6i3","p3i3",[],215,0);
stm_aix("p6i4","p4i4",[],215,0);
stm_aix("p6i5","p1i0",[0,"AV. FERNANDO DE LA MORA","","",-1,-1,0,"luavfernando.html"],215,0);
stm_aix("p6i6","p3i6",[],215,0);
stm_aix("p6i7","p2i6",[0,"RUTA 1 MCAL. FRANCISCO S. LOPEZ","","",-1,-1,0,"luruta1.html"],215,0);
stm_ep();
stm_aix("p1i7","p0i1",[0,"NEUMATICOS"],200,0);
stm_bpx("p7","p2",[]);
stm_aix("p7i0","p1i0",[0,"AV. ACCESO SUR","","",-1,-1,0,"neaccesosur.html"],215,0);
stm_aix("p7i1","p3i1",[],215,0);
stm_aix("p7i2","p3i2",[],215,0);
stm_aix("p7i3","p3i3",[],215,0);
stm_aix("p7i4","p4i4",[],215,0);
stm_aix("p7i5","p1i0",[0,"AV. FERNANDO DE LA MORA","","",-1,-1,0,"neavfernando.html"],215,0);
stm_aix("p7i6","p3i6",[],215,0);
stm_aix("p7i7","p2i6",[0,"RUTA 1 MCAL. FRANCISCO S. LOPEZ","","",-1,-1,0,"neruta1.html"],215,0);
stm_ep();
stm_aix("p1i8","p0i1",[0,"TALLERES MECANICOS"],200,0);
stm_bpx("p8","p2",[]);
stm_aix("p8i0","p1i0",[0,"AV. ACCESO SUR","","",-1,-1,0,"tmaccesosur.html"],215,0);
stm_aix("p8i1","p1i0",[0,"AV. CACIQUE LAMBARE","","",-1,-1,0,"tmcaciquelambare.html"],215,0);
stm_aix("p8i2","p3i2",[],215,0);
stm_aix("p8i3","p3i3",[],215,0);
stm_aix("p8i4","p4i4",[],215,0);
stm_aix("p8i5","p3i5",[],215,0);
stm_aix("p8i6","p3i6",[],215,0);
stm_aix("p8i7","p3i7",[],215,0);
stm_ep();
stm_ep();
stm_aix("p0i2","p0i1",[0,"CIUDADES DEL INTERIOR"],150,0);
stm_bpx("p9","p2",[1,4]);
stm_aix("p9i0","p3i1",[0,"CAAGUAZU"],215,0);
stm_aix("p9i1","p1i0",[0,"CIUDAD DEL ESTE","","",-1,-1,0,"arcdaddeleste.html"],215,0);
stm_aix("p9i2","p3i1",[0,"CONCEPCION"],215,0);
stm_aix("p9i3","p3i6",[0,"CNEL. OVIEDO"],215,0);
stm_aix("p9i4","p1i0",[0,"ENCARNACION","","",-1,-1,0,"arencarnacion.html"],215,0);
stm_aix("p9i5","p3i1",[0,"PEDRO JUAN CABALLERO"],215,0);
stm_ep();
stm_aix("p0i3","p0i1",[0,"RECOMENDADOS"],150,0);
stm_bpx("p10","p1",[]);
stm_aix("p10i0","p3i1",[0,"AGENTES DE SEGUROS"],200,0);
stm_aix("p10i1","p1i1",[],200,0);
stm_bpx("p11","p2",[]);
stm_aix("p11i0","p3i1",[0,"AV. ACCESO SUR"],215,0);
stm_aix("p11i1","p3i1",[],215,0);
stm_aix("p11i2","p3i2",[],215,0);
stm_aix("p11i3","p3i3",[],215,0);
stm_aix("p11i4","p4i4",[],215,0);
stm_aix("p11i5","p3i5",[],215,0);
stm_aix("p11i6","p3i6",[],215,0);
stm_aix("p11i7","p3i7",[],215,0);
stm_ep();
stm_aix("p10i2","p1i3",[],200,0);
stm_bpx("p12","p2",[]);
stm_aix("p12i0","p1i0",[0,"AV. ACCESO SUR","","",-1,-1,0,"reaccesosur.html"],215,0);
stm_aix("p12i1","p3i1",[],215,0);
stm_aix("p12i2","p3i2",[],215,0);
stm_aix("p12i3","p3i3",[],215,0);
stm_aix("p12i4","p4i4",[],215,0);
stm_aix("p12i5","p3i5",[],215,0);
stm_aix("p12i6","p3i6",[],215,0);
stm_aix("p12i7","p3i7",[],215,0);
stm_ep();
stm_aix("p10i3","p1i4",[],200,0);
stm_aix("p10i4","p1i5",[],200,0);
stm_bpx("p13","p2",[]);
stm_aix("p13i0","p11i0",[],215,0);
stm_aix("p13i1","p3i1",[],215,0);
stm_aix("p13i2","p3i2",[],215,0);
stm_aix("p13i3","p3i3",[],215,0);
stm_aix("p13i4","p4i4",[],215,0);
stm_aix("p13i5","p3i5",[],215,0);
stm_aix("p13i6","p3i6",[],215,0);
stm_aix("p13i7","p3i7",[],215,0);
stm_ep();
stm_aix("p10i5","p1i6",[],200,0);
stm_bpx("p14","p2",[]);
stm_aix("p14i0","p11i0",[],215,0);
stm_aix("p14i1","p3i1",[],215,0);
stm_aix("p14i2","p3i2",[],215,0);
stm_aix("p14i3","p3i3",[],215,0);
stm_aix("p14i4","p4i4",[],215,0);
stm_aix("p14i5","p3i5",[],215,0);
stm_aix("p14i6","p3i6",[],215,0);
stm_aix("p14i7","p3i7",[],215,0);
stm_ep();
stm_aix("p10i6","p1i7",[],200,0);
stm_bpx("p15","p2",[]);
stm_aix("p15i0","p11i0",[],215,0);
stm_aix("p15i1","p3i1",[],215,0);
stm_aix("p15i2","p3i2",[],215,0);
stm_aix("p15i3","p3i3",[],215,0);
stm_aix("p15i4","p4i4",[],215,0);
stm_aix("p15i5","p3i5",[],215,0);
stm_aix("p15i6","p3i6",[],215,0);
stm_aix("p15i7","p3i7",[],215,0);
stm_ep();
stm_aix("p10i7","p1i8",[],200,0);
stm_bpx("p16","p2",[]);
stm_aix("p16i0","p11i0",[],215,0);
stm_aix("p16i1","p3i1",[],215,0);
stm_aix("p16i2","p3i2",[],215,0);
stm_aix("p16i3","p3i3",[],215,0);
stm_aix("p16i4","p4i4",[],215,0);
stm_aix("p16i5","p3i5",[],215,0);
stm_aix("p16i6","p3i6",[],215,0);
stm_aix("p16i7","p3i7",[],215,0);
stm_ep();
stm_ep();
stm_aix("p0i4","p3i1",[0,"INFORMACIONES"],150,0);
stm_aix("p0i5","p3i1",[0,"CONTACTO"],150,0);
stm_ep();
stm_em();
//-->
</script>




(No se puede continuar esta discusión porque tiene más de dos meses de antigüedad. Si tienes dudas parecidas, abre un nuevo hilo.)