07. juni 2002 - 20:50Der er
20 kommentarer og 1 løsning
hvis er det
står andet end .Password i feltet password skal typen være password hvordan??: <input name="text" type="text" class="searchbox" onFocus="if(this.value=='.Brugernavn')this.value='';" onBlur="if(this.value=='')this.value='.Brugernavn';" onMouseOver="this.style.background='#88AE88'" onMouseOut="this.style.background='#A4C1A4'" value=".Brugernavn" size="15">
<FORM NAME="FORMEN"> <DIV ID="_1" STYLE="display:block;"><INPUT TYPE="text" VALUE=".Password" NAME="T1" onkeypress="if(this.value != '.Password'){_1.style.display = 'none'; _2.style.display = 'block'; document.FORMEN.T2.value=this.value;}"></DIV> <DIV ID="_2" STYLE="display:none;"><INPUT TYPE="password" NAME="T2" onkeypress="if(this.value == '.Password'){_1.style.display = 'block'; _2.style.display = 'none'; document.FORMEN.T1.value=this.value;}"></DIV> </FORM> Man skal bare lige skrive endnu et bogstav efter '.Password' hvis man vil skifte tilbage, ellers virker det fint...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.