Ver Mensaje Individual
  #3 (permalink)  
Antiguo 21/02/2007, 09:29
Pilly
 
Fecha de Ingreso: octubre-2005
Mensajes: 85
Antigüedad: 18 años, 6 meses
Puntos: 0
Re: menu escurridizo

Hola Mikmoro, este es el código html que me despliega los menus,
Por favor ayudame que solo esto me falta para culminar este proyecto

Código:
<?php 

   function menu() 
   { 
?> 
<script type="text/javascript">
			<!--//--><![CDATA[//><!--
			
			sfHover = function() {
				var sfEls = document.getElementById("nav2").getElementsByTagName("LI");
				for (var i=0; i<sfEls.length; i++) {
					sfEls[i].onmouseover=function() {
						this.className+=" sfhover";
					}
					sfEls[i].onmouseout=function() {
						this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
					}
				}
			}
			if (window.attachEvent) window.attachEvent("onload", sfHover);
			
			//--><!]]>
</script>


<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr align="left"><td height="38"> 
<ul id="nav2">
                <li><a href="quienes.php" id="contentpagetitle" ><img src="images/quienes.jpg" width="196" height="38" border="0" ></a>
                  <ul >
                    <li><a href="historia.php" >HISTORIA DE LA EMPRESA</a></li>
                    <li><a href="politica_calidad.php" >POLITICA DE CALIDAD</a></li>
                                      </ul>
</li></ul>
</td></tr>
<script type="text/javascript">
			<!--//--><![CDATA[//><!--
			
			sfHover = function() {
				var sfEls = document.getElementById("nav3").getElementsByTagName("LI");
				for (var i=0; i<sfEls.length; i++) {
					sfEls[i].onmouseover=function() {
						this.className+=" sfhover";
					}
					sfEls[i].onmouseout=function() {
						this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
					}
				}
			}
			if (window.attachEvent) window.attachEvent("onload", sfHover);
			
			//--><!]]>
</script>

<tr align="left" ><td height="50">
<ul id="nav3">
                <li><a href="servicios.php" id="contentpagetitle" ><img src="images/servicios_b.jpg" width="196" height="38" border="0" ></a>
                  <ul >
                    <li><a href="contamos.php" >CONTAMOS CON</a></li>
                    <li><a href="rastreo.php" >RASTREO SATELITAL</a></li>
                    <li><a href="radio.php" >RADIO FRECUENCIA NACIONAL Y CELULAR</a></li>
                    <li><a href="control.php" >PUESTOS DE CONTROL</a></li>
                    <li><a href="soft_control.php" >OPTIMIZACION Y PLANIFICACION</a></li>

                  </ul>
</li></ul>


</td></tr>
<tr align="left" ><td height="50"><a href="equipos.php" id="mtm_products" ><img src="images/equipos.jpg" width="176" height="38" border="0" ></a></td></tr>
<tr align="left" ><td height="50"><a href="experiencia.php"  id="mtm_services" ><img src="images/experiencia.jpg" width="150" height="39" border="0" ></a></td></tr>
<tr align="left" ><td height="50"><a href="contacto.php" id="mtm_contact_us" ><img src="images/contactanos.jpg" width="144" height="38" border="0" ></a></td></div></tr>
</table>

<?    
   } 
?>
Muchas gracias
Pilly