Foros del Web » Programando para Internet » Javascript »

Nuevo thickbox

Estas en el tema de Nuevo thickbox en el foro de Javascript en Foros del Web. Hola a tod@s, tngo un problemiya tengo una pagina principal desde la ke hago clic a un enlace para que abra un thickbox con una ...
  #1 (permalink)  
Antiguo 19/03/2011, 06:12
Avatar de Cristy_blk  
Fecha de Ingreso: abril-2010
Ubicación: Granada
Mensajes: 66
Antigüedad: 14 años
Puntos: 0
Nuevo thickbox

Hola a tod@s, tngo un problemiya tengo una pagina principal desde la ke hago clic a un enlace para que abra un thickbox con una página de logeo, bien pues en el thickbox doy la opcion de iniciar sesion o registrarte si no lo estas y ahí es donde tengo el problema. En el enlace que pongo quiero que abra otro zthickbox más grande con la pagina de registro pro no, utiliza el thickbox de logeo con lo k se keda demasiado pequeño.

Me gustaria cambiar el tamaño del thickbox o cerrar el anterior y que me abra uno nuevo con las nuevas medidas.
Les dejo el código, espero haberme explicado bien. Gracias.

Index.jsp

Código:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title>GalaHosting</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="css/style.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="js/cufon-yui.js"></script>
        <script type="text/javascript" src="js/arial.js"></script>
        <script type="text/javascript" src="js/cuf_run.js"></script>
        <%-- enlaces thickbox --%>

        <script type="text/javascript" src="jquery/jquery.js"></script>
        <script type="text/javascript" src="jquery/thickbox.js"></script>
        <link rel="stylesheet" href="jquery/thickbox.css" type="text/css" media="screen" />

        <style type="text/css">
<!--
.Estilo1 {color: #03a5d1}
-->
        </style>
</head>
    <body>
        <div class="main">
            <div class="header">
                <div class="header_resize">
                    <div class="logo">
                        <h1><a href="usuarios/usuarios/logeo.jsp?keepThis=true&TB_iframe=true&height=205&width=400" title="Inicio de Sesi&oacute;n" class="thickbox"><span>Gala</span>Hosting<br />
                                <small>pulsa <span class="Estilo1">Aqu&iacute; </span>para Logearte</small></a></h1>
                    </div>
logeo.jsp

Código:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title>GalaHosting</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="../../css/style.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="../../js/cufon-yui.js"></script>
        <script type="text/javascript" src="../../js/arial.js"></script>
        <script type="text/javascript" src="../../js/cuf_run.js"></script>
        <script type="text/javascript" src="../../js/jsusuarios/validar.js"></script>
    </head>
    <body>
        <div class="logeo">
            <form action="autentificar" method="post" onsubmit=" return iniciarsesion()" >
                <%
                            String respuesta;
                            respuesta = request.getParameter("error");
                            if (respuesta == null) {
                                respuesta = "";
                            }

                %>
                <table align="center">

                    <caption><h2>Inicio de sesi&oacute;n:</h2></caption>

                    <tr><td colspan="2" align="center"><h7 id="resp"><%=respuesta%></h7></td></tr>
                    <tr>
                        <td align="left">Usuario:</td><td> <input type='text' id="usuario" name="usuario" value="" size="25"/> </td>
                    </tr>
                    <tr>
                        <td align="left">Contrase&ntilde;a:</td><td><input type='password' id="clave" name="clave" value="" size="25"/> </td>
                    </tr>

                    <tr><td colspan="2" align="center"> <input type="submit" id="enviar" value="Iniciar Sesi&oacute;n"/><br/></td>
                    </tr>
                </table>
                <hr class="hrazul">
                <p align="center"> Si a&uacute;n no estas registrado, registrate <a href="altausuario.jsp?keepThis=true&TB_iframe=true&height=600&width=400">Aquí</a>.</p>
            </form>
        </div>
    </body>
</html>
altausuarios.jsp

Código:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="../../js/jsusuarios/comprobarusuario.js"></script>
        <title>GalaHosting</title>
    </head>
    <body>
        <div>
            <form action="../../AltaUsuario" method="post">

                <%
                            String respuesta;
                            respuesta = request.getParameter("error");
                            if (respuesta == null) {
                                respuesta = "";
                            }

                %>
                <table align="center">
                    <h2 align="center">Formulario de registro</h2>
                    <h7 align="center"><%=respuesta%></h7>
                    <tr>
                        <td align="left"> Usuario:</td><td><input type='text' id="usuario" name="usuario" maxlength="20" onblur="comprobarusuario()"/>
                            <b id="estado"></b>
                        </td>
                    </tr>
                    <tr>
                        <td  align="left"> Contrase&ntilde;a</td><td><input type='text' id="clave" name="clave" maxlength="32"/><br/></td>
                    </tr>
                    <tr>
                        <td  align="left"> Repite la contrase&ntilde;a:</td><td><input type='text' id="clave2" name="clave2" maxlength="32"/><br/></td>
                    </tr>
                    <tr>
                        <td  align="left"> Correo electronico:</td><td><input type='text' id="correo" name="correo" maxlength="30"/><br/></td>
                    </tr>
                    <tr>
                        <td  align="left"> Nombre:</td><td><input type='text' id="nombre" name="nombre" maxlength="60"/><br/></td>
                    </tr>
                    <tr>
                        <td  align="left"> Apellido:</td><td><input type='text' id="apellido" name="apellido"/><br/></td>
                    </tr>
                    <tr>
                        <td  align="left"> Tel&eacute;fono:</td><td><input type='text' id="telefono" name="telefono"/><br/></td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center"><input type="submit" id="btenviar" value="Registrar"/></td>
                    </tr>
                </table>
            </form>
        </div>
    </body>
</html>
  #2 (permalink)  
Antiguo 25/10/2011, 17:38
 
Fecha de Ingreso: octubre-2011
Ubicación: Hermosillo
Mensajes: 11
Antigüedad: 12 años, 6 meses
Puntos: 0
Respuesta: Nuevo thickbox

aaaaa tengo ese mismo problema :S:S:S y no encuentro la solución y nadie contesto :(.. Veo que fue hace algun tiempo tu consulta, de casualidad no resolviste el problema y que me puedas hechar la mano :).

Gracias!

Etiquetas: thickbox
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 10:44.