Panou Logare punBB
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Alte probleme :: Arhiva probleme diverse
Pagina 4 din 5 • Distribuiţi
Pagina 4 din 5 • 1, 2, 3, 4, 5
Panou Logare punBB
Rezumarea primului mesaj :
Buna ziua, as dori daca se poate un cod pentru un panou de logare pentru versiunea punBB.
Buna ziua, as dori daca se poate un cod pentru un panou de logare pentru versiunea punBB.
Ultima editare efectuata de catre BoomBoomBoom in Mier Mai 23, 2012 5:14 pm, editata de 1 ori
Re: Panou Logare punBB
Si cum pot sa fac la casuta ca atunci cand dau click sa dispara Utilizator si sa ramana goala casuta la fel si la parola.
Re: Panou Logare punBB
Incearca cu:
- Cod:
#password.inputbox:focus {
outline:none;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;}
#username.inputbox:focus {
outline:none;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;}
.button2 {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;}
Re: Panou Logare punBB
- Cod:
jQuery(document).ready(function() {
jQuery('.logo-image').before('<!-- BEGIN switch_user_logged_out -->
<div class="casuta-logare"><form id="ddlogin" action="/login.forum" method="post">
<dl>
<dd><input type="text" tabindex="1" name="username"
id="username" size="20" maxlength="40" value="" class="inputbox"
/></dd>
</dl>
<dl>
<div class="spatiu"></div>
<dd><input type="password" tabindex="2" id="password"
name="password" value="" size="20" maxlength="25" class="inputbox"
/></dd>
</dl>
<dl>
<dd><label for="autologin"><input type="checkbox"
name="autologin" id="autologin" tabindex="4" class="checkbox"
checked="checked" /> Remember me</label></dd>
</dl>
<div class="spatiu"></div>
<dl>
<dd><input type="submit" name="login" tabindex="6" value="Conectare" class="button2" /></dd>
</dl>
</form></div>
<!-- END switch_user_logged_out -->');
});
Incearca asta
Re: Panou Logare punBB
Omu codul tau l-am inlocuit cu
- Cod:
#password.inputbox {
border-radius: 8px;}
#username.inputbox {
border-radius: 8px;}
Re: Panou Logare punBB
- Cod:
jQuery(document).ready(function() {
jQuery('.logo-image').before('<!-- BEGIN switch_user_logged_out -->
<div class="casuta-logare"><form id="ddlogin" action="/login.forum" method="post">
<dl>
<dd><input onclick="if (this.value == 'Nume de utilizator') this.value = '';" onblur="if (this.value == '') this.value = 'Nume de utilizator';" type="text" tabindex="1" name="username"
id="username" size="20" maxlength="40" value="Nume de utilizator" class="inputbox"
/></dd>
</dl>
<dl>
<div class="spatiu"></div>
<dd><input onclick="if (this.value == 'Parola') this.value = '';" onblur="if (this.value == '') this.value = 'Parola';" type="password" tabindex="2" id="password"
name="password" value="Parola" size="20" maxlength="25" class="inputbox"
/></dd>
</dl>
<dl>
<dd><label for="autologin"><input type="checkbox"
name="autologin" id="autologin" tabindex="4" class="checkbox"
checked="checked" /> Remember me</label></dd>
</dl>
<div class="spatiu"></div>
<dl>
<dd><input type="submit" name="login" tabindex="6" value="Conectare" class="button2" /></dd>
</dl>
</form></div>
<!-- END switch_user_logged_out -->');
});
Re: Panou Logare punBB
Deci trebuie sa inlocuiesc codul actual din Javascript cu acesta iar in CSS nu mai adaug nimic ?
Re: Panou Logare punBB
Scoate din CSS acele coduri :focus
si pune:
Ar trebui sa mearga perfect.
si pune:
- Cod:
#password.inputbox{
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;}
#username.inputbox {
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;}
.button2 {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;}
Ar trebui sa mearga perfect.
Re: Panou Logare punBB
Am scos codurile acelea cu:
Am adaugat acestea ce miai zis tu si codul asta din Javascript:
si a disparut panoul.
- Cod:
#password.inputbox {
border-radius: 8px;}
#username.inputbox {
border-radius: 8px;}
Am adaugat acestea ce miai zis tu si codul asta din Javascript:
- Cod:
jQuery(document).ready(function() {
jQuery('.logo-image').before('<!-- BEGIN switch_user_logged_out -->
<div class="casuta-logare"><form id="ddlogin" action="/login.forum" method="post">
<dl>
<dd><input onclick="if (this.value == 'Nume de utilizator') this.value = '';" onblur="if (this.value == '') this.value = 'Nume de utilizator';" type="text" tabindex="1" name="username"
id="username" size="20" maxlength="40" value="Nume de utilizator" class="inputbox"
/></dd>
</dl>
<dl>
<div class="spatiu"></div>
<dd><input onclick="if (this.value == 'Parola') this.value = '';" onblur="if (this.value == '') this.value = 'Parola';" type="password" tabindex="2" id="password"
name="password" value="Parola" size="20" maxlength="25" class="inputbox"
/></dd>
</dl>
<dl>
<dd><label for="autologin"><input type="checkbox"
name="autologin" id="autologin" tabindex="4" class="checkbox"
checked="checked" /> Remember me</label></dd>
</dl>
<div class="spatiu"></div>
<dl>
<dd><input type="submit" name="login" tabindex="6" value="Conectare" class="button2" /></dd>
</dl>
</form></div>
<!-- END switch_user_logged_out -->');
});
si a disparut panoul.
Re: Panou Logare punBB
Cod complet:
CSS complet:
- Cod:
jQuery(document).ready(function() {
jQuery('.logo-image').before('<!-- BEGIN switch_user_logged_out -->
<div class="casuta-logare"><form id="ddlogin" action="/login.forum" method="post">
<dl>
<dd><input onclick="if (this.value == 'Nume de utilizator') this.value = '';" onblur="if (this.value == '') this.value = 'Nume de utilizator';" type="text" tabindex="1" name="username"
id="username" size="20" maxlength="40" value="Nume de utilizator" class="inputbox"
/></dd>
</dl>
<dl>
<div class="spatiu"></div>
<dd><input onclick="if (this.value == 'Parola') this.value = '';" onblur="if (this.value == '') this.value = 'Parola';" type="password" tabindex="2" id="password"
name="password" value="Parola" size="20" maxlength="25" class="inputbox"
/></dd>
</dl>
<dl>
<dd><label for="autologin"><input type="checkbox"
name="autologin" id="autologin" tabindex="4" class="checkbox"
checked="checked" /> Remember me</label></dd>
</dl>
<div class="spatiu"></div>
<dl>
<dd><input type="submit" name="login" tabindex="6" value="Conectare" class="button2" /></dd>
</dl>
</form></div>
<!-- END switch_user_logged_out -->');
});
CSS complet:
- Cod:
#password.inputbox {
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;}
#username.inputbox {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;}
input {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;}
.casuta-logare {
float: right;
margin-left: -20px;
border: 1px solid #ddd;
padding: 5px;
background: #fff;
position: absolute;
margin-top: 10px;
border-radius : 5px;}
Re: Panou Logare punBB
Deci eu aveam inainte de a imi da aceste coduri asa:
Si in Javascript:
Si am sters acele coduri CSS si am adaugat acestea in locul lor la fel si cu cel Javascript si imi dispare panoul de logare.
- Cod:
.spatiu {
height: 6px;}
#password.inputbox {
border-radius: 8px;}
#username.inputbox {
border-radius: 8px;}
input {
border: 3px;}
.ddlogin fieldset { border: none !important;}
.casuta-logare {
float: right;
margin-left: 1050px;
border: 0px solid #ddd !important;
padding: 5px;
background: transparent !important;
position: absolute;
margin-top: 7px;
border-radius : 5px;}
Si in Javascript:
- Cod:
jQuery(document).ready(function() {
jQuery('.logo-image').before('<!-- BEGIN switch_user_logged_out -->
<div class="casuta-logare"><form id="ddlogin" action="/login.forum" method="post">
<dl>
<dd><input type="text" tabindex="1" name="username"
id="username" size="20" maxlength="40" value="Utilizator" class="inputbox"
/></dd>
</dl>
<dl>
<div class="spatiu"></div>
<dd><input type="password" tabindex="2" id="password"
name="password" value="Parola" size="20" maxlength="25" class="inputbox"
/></dd>
</dl>
<dl>
<div class="spatiu"></div>
<dl>
<dd><input type="submit" name="login" tabindex="6" value="Conectare" class="button2" /></dd>
</dl>
</form></div>
<!-- END switch_user_logged_out -->');
});
Si am sters acele coduri CSS si am adaugat acestea in locul lor la fel si cu cel Javascript si imi dispare panoul de logare.
Re: Panou Logare punBB
Iti dispare pentru ca nu esti deconectat.
Casuta de logare fiind pusa intre:
Aplica acele coduri, si deconecteaza-te pentru a vedea efectul.
Casuta de logare fiind pusa intre:
- Cod:
<!-- BEGIN switch_user_logged_out -->
- Cod:
<!-- END switch_user_logged_out -->
Aplica acele coduri, si deconecteaza-te pentru a vedea efectul.
Re: Panou Logare punBB
Casuta mea de logare adica codul lam pus in Gestionarea codurilor Javascript si codul CSS in foaia de still CSS am inlocuit cu ce miai dat si mam deconectat si nimic.
Pagina 4 din 5 • 1, 2, 3, 4, 5
Subiecte similare
» Casute panou logare mai mici
» Imagini logare punBB
» Logare (Popup) (IPBoard 3.43) punBB
» Panou meniu PUNBB
» Casuta Logare
» Imagini logare punBB
» Logare (Popup) (IPBoard 3.43) punBB
» Panou meniu PUNBB
» Casuta Logare
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Alte probleme :: Arhiva probleme diverse
Pagina 4 din 5
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum