Ver Mensaje Individual
  #4 (permalink)  
Antiguo 23/02/2007, 13:43
gabrielb86
 
Fecha de Ingreso: febrero-2007
Mensajes: 2
Antigüedad: 18 años
Puntos: 0
Re: Menu desplegable o expandible en php

Muchas gracias david y gamuhz...Ahora, como puedo dividir la página en marcos? ¿Sólo con eso ya queda adaptada para que funcione el código javascript? Gracias por el menú, veo que funciona, pero me faltaría adaptarlo a la página para que funcione con ella...

Les adjunto el código de index.php, y el de el archivo del menú (menu_nav.php) para ver si pueden echarme una mano...


index.php (solo copio la parte donde hace referencia al menú, el resto no lo puse porque es el contenido):

<html><head><title>:: ACUEM :: Asociaci&oacute;n Cient&iacute;fica Universitaria de Estudiantes de Medicina - ULA</title>



<link rel="stylesheet" type="text/css" href="estilos.css">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">

<!--

body {

background-color: #000000;

}

.style3 {

font-size: 10px;

font-family: Arial, Helvetica, sans-serif;

color: #003399;

}

-->

</style>

<link rel="shortcut icon" href="images/favicon.ico" >

<style type="text/css">

<!--

.style10 {color: #000066}

.style11 {

color: #003399;

font-size: 16px;

}

.style12 {color: #003399}

-->

</style>

</head>

<body>

<table align="center" border="0" cellpadding="0" cellspacing="0" width="692">

<tbody>

<tr>

<td colspan="2">

<!-- Etiquetas Funcionales Globales Código: EFG -->

<!-- Etiquetas Funcionales Globales Código: EFG --></td>

</tr>

<tr>

<td colspan="2"><?php include("encabezado.php"); ?></td>

</tr>

<tr>

<td colspan="2" valign="top"><table background="images/fondo.gif" cellpadding="3" cellspacing="3" width="100%">

<tbody>

<tr>

<td background="images/bg.gif" valign="top" width="23%">

<!-- Menu -->



<?php include("menu_nav.php"); ?> </td>

<td valign="top" background="images/bg.gif" class="celda2">

<!-- Contenido pag inicio -->



Y este es el menú (menu_nav.php):



<?



################################################## ######

# MENU DE NAVEGACIÓN DEL SITIO

################################################## ######



echo"<table width='150' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>

<tbody>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>



<tr>

<td valign='top' width='14'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' width='136' class='texto_normal'><strong> <a href='quienes_somos.php'>¿Quienes somos?</a></strong></td>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' class='texto_normal'><strong> <a href='estructura.php'>Estructura</a></strong>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' class='texto_normal'><strong> <a href='actividades.php'>Actividades</a></strong>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' class='texto_normal'><strong> <a href='eventos.php'>Eventos</a></strong>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top' width='14'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' width='136' class='texto_normal'><strong> <a href='miembros.php'>Miembros</a></strong></td>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top' width='14'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' width='136' class='texto_normal'><strong> <a href='cpca.php'>CPCA</a></strong></td>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top' width='14'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' width='136' class='texto_normal'><strong> <a href='cpri.php'>CPRI</a></strong></td>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top' width='14'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' width='136' class='texto_normal'><strong> <a href='CPAIS'>cpais.php</a></strong></td>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top' width='14'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' width='136' class='texto_normal'><strong> <a href='cpdcyt.php'>CPDCYT</a></strong></td>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top' width='14'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' width='136' class='texto_normal'><strong> <a href='galeria.php'>Galería de Fotos</a></strong></td>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' class='texto_normal'><strong> <a href='membresia.php'>Solicitud de Membresía</a></strong>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' class='texto_normal'><strong> <a href='acuemnut.php'>ACUEM-NUT</a></strong>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>


<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' class='texto_normal'><strong> <a href='pamsa.php'>PAMSA</a></strong>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' class='texto_normal'><strong> <a href='ippnw.php'>IPPNW</a></strong>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' class='texto_normal'><strong> <a href='socivem.php'>SOCIVEM</a></strong>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

<tr>

<td valign='top'><img src='images/triangulo.gif' height='12' width='12'></td>

<td valign='top' class='texto_normal'><strong> <a href='descargas.php'>Descargas</a></strong>

</tr>

<tr>

<td colspan='2'><img src='images/spacer.gif' height='5' width='1'></td>

</tr>

</tbody></table>";

?>

Espero puedan ayudarme...Saludos