Tema: Iframes & IE
Ver Mensaje Individual
  #5  
Antiguo 19-02-2009
subzero subzero is offline
No confirmado
 
Registrado: ene 2004
Ubicación: Móntería - Córdoba - Colombia
Posts: 289
Reputación: 0
subzero Va por buen camino
Hola roaman, gracias por interezarte en mi tema, pues la idea es que corrigiendo lo que habia comentado anteriormente tengo 3 marcos

1. Superior
2. Medio.
3. Bajo

En el medio tengo una tabla, la cual esta dividida en dos columnas en la primera están los botones que al ser presionados cargan las páginas en la siguiente columna.

el codigo de la pagina que muestra esto es la siguiente:

Código PHP:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
<link href="estilo.css" rel="stylesheet" type="text/css" />
<?php include('funciones.php'); validar_sesion();?>
</head>

<body>
<table width="753" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000066" >
  <tr>
    <td width="92" valign="top"><form id="form1" name="form1" method="post" action="">
      <table width="80" border="0" cellpadding="0" cellspacing="0" class="botonmenu">
        <tr>
          <td><button name="bProgVisitas" type="submit" class="botonmenu" value="Enviar"><table><tr><td><img src="imagenes/iconos/agenda_date.gif" width="20" height="20"></td><td>Prog. de Visitas</td></tr></table></button></td></tr>       
        <tr>
          <td><button name="bPrespuesto" type="submit" class="botonmenu" value="Ventas"><table><tr><td width="24"><img src="imagenes/iconos/icons/money_dollar.png" width="20" height="20">
          </td>
            <td width="62">Presup.</td>
          </tr></table></button></td>
        </tr>        
        <tr>
          <td><button name="bCumPreVent" type="submit" class="botonmenu" value="Ventas"><table><tr><td width="25"><img src="imagenes/iconos/icons/css_valid.png" width="24" height="24"></td>
          <td width="55">Cump. Presup.  </td>
          </tr></table></button></td>
        </tr>
        <tr>
          <td><button name="bHistVisitas" type="submit" class="botonmenu" value="Historia de Visitas"><table><tr><td><img src="imagenes/iconos/icons/application_view_list.png" width="20" height="20"></td><td>Historia de Visitas</td></tr></table></button></td>
        </tr>
        
        <tr>
          <td><button name="bClientes" type="submit" class="botonmenu" value="Ventas"><table><tr><td><img src="imagenes/iconos/gente.gif" width="24" height="24"></td>
          <td>Clientes</td>
          </tr></table></button></td>          
        </tr>
        <tr>
          <td>
            <div align="center"><a href="login.php" target="_parent">Salir Seguro</a></div></td>
        </tr>
        <tr>
          <td><p>&nbsp;</p>
            <p align="center"><a href="vpresupuesto_prueba.php"></a></p></td>
        </tr>
        <tr>
          <td><button name="bPrueba" type="submit" class="botonmenu" value="Ventas"><table><tr><td><img src="imagenes/iconos/stop.gif" width="16" height="16"></td>
          <td>No Tocar.. En serio no tocar! </td>
          </tr></table></button></td>
        </tr>
      </table>
      </form></td>
    <td width="655" valign="top"><?php        
        
       
if(@$_POST['bProgVisitas'])
       {echo 
'<iframe src="vprogvisitas.php" width="640" height ="400" scrolling="auto" frameborder="0"></iframe>';}         
       else
       {       
        if(@
$_POST['bPrespuesto'])
        {echo 
'<iframe src="vpresupuesto.php" width="640" height ="400" scrolling="auto" frameborder="0"></iframe>';}
       
        if(@
$_POST['bCumPreVent'])         
        {echo 
'<iframe src="vcump_presupuesto_venta.php" width="640" height ="400" scrolling="auto" frameborder="0"></iframe>';}
       
        if(@
$_POST['bHistVisitas'])         
        {echo 
'<iframe src="vhistoria_visitas.php" width="640" height ="400" scrolling="auto" frameborder="0"></iframe>';}
        
        if(@
$_POST['bClientes'])         
        {echo 
'<iframe src="vmovimiento.php" width="640" height ="400" scrolling="auto" frameborder="0"></iframe>';}    
      
        if(@
$_POST['bPrueba'])         
        {echo 
'<iframe src="vgestion_cliente_p.php" width="620" height ="400" scrolling="auto" frameborder="0" target="_parent"></iframe>';}
       }    
      
?>
  </tr>
</table>
</body>
</html>
Nuevamente gracias.
Responder Con Cita