Ver Mensaje Individual
  #7 (permalink)  
Antiguo 06/08/2006, 21:38
eagoweb2
 
Fecha de Ingreso: septiembre-2003
Mensajes: 384
Antigüedad: 20 años, 7 meses
Puntos: 0
bien tengo este bloque de codigo en html, dodne el user puede logearse
Código PHP:
<TR>
          <
TD COLSPAN=7 background="images/rs1.gif">
          <
div style="padding-left:28px; padding-top:5px; font-weight: color: #173862;">
          <
form method="POST" action="index.php?login" onsubmit="return login();">
          
USUARIO:
          <
input type="text" id="user" size="15">
          </
TD>
          <
TD
            <
IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=39 ALT=""></TD>
        </
TR>
        <
TR>
          <
TD COLSPAN=7 background="images/rs2.gif">
          <
div style="padding-left:7px; padding-top:3px; font-weight: color: #173862;">
          
CONTRASEÑA:
           <
input type="password" id="pww" size="15">
          </
div>
          </
TD>
          <
TD
            <
IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=27 ALT=""></TD>
        </
TR>
        <
TR>
        <
TD COLSPAN=4 background="images/index_21.gif">            
        <
div style="padding-left:7px; padding-top:0px; font-weight: bold; color: #173862; text-decoration:underline">
        <
span class="style4"><strong>
        <
a href="#" onclick="cargar_seccion('ua/form_registro.php', 'centro');" class="style7" style="text-decoration:underline ">[ Registrate ]</a></strong><br>
        </
span>
        <
div style="padding-left:0px; padding-top:5px; font-weight: bold; color:#A7A7A7;"><span class="style4">
        <
a href="#" onclick="cargar_seccion('ua/user_pww.php', 'centro');" class="style7" style="text-decoration:underline ">[ Olvido? ]</a><strong></strong><br>
        </
span></div>
        </
div></TD>
        <
TD COLSPAN=3 bgcolor="#FFFFFF">
        <
input type="image" src="images/kntr.gif" width="88" height="41" border="0"></TD>
        </
form>    
          <
p><font color="#FF0000"></font></p>
          <
TD
            <
IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=41 ALT=""></TD>
        </
TR>
        </
div>
        <
TR>
          <
TD COLSPAN=23
            <
IMG SRC="images/line1.gif" WIDTH=766 HEIGHT=7 ALT=""></TD>
          <
TD
            <
IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=7 ALT=""></TD>
        </
TR
con ajax tengo la facilidad de que al logearme el cambie todo el contenido que esta dentro de un <div></div>, pero cuando pongo todo este bloque dentro de un div, no me lo hace, claro porque tiene etiquetas de tablas.

si cambio esto a div, tendria que cambiar la pagina completa, porque sino me cambiaria la maquetacion de la page.
__________________
-----------------------------
Edgar Gonzalez