Cita:
Y Yo tengo por default este otro:<form method="post" action="http://disolu.com/clientes/dologin.php">
<input type="hidden" name="token" value="5c86e269a7c487634b302b56a8cfd5eb7d1072f2" />
Email Address: <input type="text" name="username" size="50" /><br />
Password: <input type="password" name="password" size="20" /><br />
<input type="submit" value="Login" />
</form>
<input type="hidden" name="token" value="5c86e269a7c487634b302b56a8cfd5eb7d1072f2" />
Email Address: <input type="text" name="username" size="50" /><br />
Password: <input type="password" name="password" size="20" /><br />
<input type="submit" value="Login" />
</form>
Cita:
Trate de fusionarlos ya que son las mismas variables, "username" y "pasword" <form action="" id="login-form">
<fieldset>
<span class="text">
<input type="text" value="Username" onFocus="if(this.value=='Username'){this.value=''} " onBlur="if(this.value==''){this.value='Username'}" >
</span>
<span class="text">
<input type="password" value="Password" onFocus="if(this.value=='Password'){this.value=''} " onBlur="if(this.value==''){this.value='Password'}" >
</span>
<a href="#" class="login" onClick="document.getElementById('login-form').submit()"><span><span>Login</span></span></a>
<span class="links"><a href="http://www.disolu.com/clientes/pwreset.php">Olvido su pasword?</a><br/><a href="http://www.disolu.com/clientes/register.php">Registrarse</a></span>
</fieldset>
</form>
<fieldset>
<span class="text">
<input type="text" value="Username" onFocus="if(this.value=='Username'){this.value=''} " onBlur="if(this.value==''){this.value='Username'}" >
</span>
<span class="text">
<input type="password" value="Password" onFocus="if(this.value=='Password'){this.value=''} " onBlur="if(this.value==''){this.value='Password'}" >
</span>
<a href="#" class="login" onClick="document.getElementById('login-form').submit()"><span><span>Login</span></span></a>
<span class="links"><a href="http://www.disolu.com/clientes/pwreset.php">Olvido su pasword?</a><br/><a href="http://www.disolu.com/clientes/register.php">Registrarse</a></span>
</fieldset>
</form>
Les dejo un un demo de cliente para que en caso puedan configurar el ingreso.
Email: [email protected]
Pasword: 123456
Lo que trate de hacer pero no funciona; por favor si alguien me puede ayudar para no perder el stylo de la plantilla por favor. Gracias de antemano.
Cita:
El Id del Login-form en style.css es el siguiente:<form method="post" action="http://www.disolu.com/clientes/dologin.php" id="login-form">
<fieldset>
<span class="text">
<input type="hidden" name="token" value="5c86e269a7c487634b302b56a8cfd5eb7d1072f2" />
<input type="text" value="Username" onFocus="if(this.value=='Username'){this.value=''} " onBlur="if(this.value==''){this.value='Username'}" >
</span>
<span class="text">
<input type="password" value="Password" onFocus="if(this.value=='Password'){this.value=''} " onBlur="if(this.value==''){this.value='Password'}" >
</span>
<a href="http://disolu.com/clientes/dologin.php" class="login" onClick="document.getElementById('login-form').submit()"><span><span>Login</span></span></a>
<span class="links"><a href="http://www.disolu.com/clientes/pwreset.php">Olvido su pasword?</a><br/><a href="http://www.disolu.com/clientes/register.php">Registrarse</a></span>
</fieldset>
</form>
<fieldset>
<span class="text">
<input type="hidden" name="token" value="5c86e269a7c487634b302b56a8cfd5eb7d1072f2" />
<input type="text" value="Username" onFocus="if(this.value=='Username'){this.value=''} " onBlur="if(this.value==''){this.value='Username'}" >
</span>
<span class="text">
<input type="password" value="Password" onFocus="if(this.value=='Password'){this.value=''} " onBlur="if(this.value==''){this.value='Password'}" >
</span>
<a href="http://disolu.com/clientes/dologin.php" class="login" onClick="document.getElementById('login-form').submit()"><span><span>Login</span></span></a>
<span class="links"><a href="http://www.disolu.com/clientes/pwreset.php">Olvido su pasword?</a><br/><a href="http://www.disolu.com/clientes/register.php">Registrarse</a></span>
</fieldset>
</form>
Cita:
#login-form fieldset {position:absolute;right:45px;top:15px}
#login-form span.text {float:left;width:104px;height:23px;margin-left:5px;background:url(../images/input-bg1.gif) no-repeat left top}
#login-form input {border:none;background:none;padding:4px 10px;vertical-align:top;color:#9b9b9b;width:84px}
*+ html #login-form input {padding-top:3px}
.inner_copy, .inner_copy a {border:0;float:right;background:#fff;color:#f00;w idth:50%;line-height:10px;font-size:10px;margin:-220% 0 0 0;overflow:hidden;padding:0}
#login-form a.login {color:#fff;text-decoration:none;text-shadow:1px 1px #295c01;float:left;background:url(../images/button-tail1.gif) repeat-x left top;position:relative;top:-2px;margin-left:3px}
#login-form a.login span {display:block;background:url(../images/button-left1.gif) no-repeat left top}
#login-form a.login span span {padding:5px 22px 6px 22px;background:url(../images/button-right1.gif) no-repeat right top}
#login-form span.links {font-size:.923em;line-height:1.2em;float:left;padding-left:8px;position:relative;top:-2px}
#login-form span.links a {color:#464646}#domain-form {padding-bottom:35px}
#login-form span.text {float:left;width:104px;height:23px;margin-left:5px;background:url(../images/input-bg1.gif) no-repeat left top}
#login-form input {border:none;background:none;padding:4px 10px;vertical-align:top;color:#9b9b9b;width:84px}
*+ html #login-form input {padding-top:3px}
.inner_copy, .inner_copy a {border:0;float:right;background:#fff;color:#f00;w idth:50%;line-height:10px;font-size:10px;margin:-220% 0 0 0;overflow:hidden;padding:0}
#login-form a.login {color:#fff;text-decoration:none;text-shadow:1px 1px #295c01;float:left;background:url(../images/button-tail1.gif) repeat-x left top;position:relative;top:-2px;margin-left:3px}
#login-form a.login span {display:block;background:url(../images/button-left1.gif) no-repeat left top}
#login-form a.login span span {padding:5px 22px 6px 22px;background:url(../images/button-right1.gif) no-repeat right top}
#login-form span.links {font-size:.923em;line-height:1.2em;float:left;padding-left:8px;position:relative;top:-2px}
#login-form span.links a {color:#464646}#domain-form {padding-bottom:35px}