0 enthält, ansonsten sowieso),Gruß,noRiddle*NACHTRAG*Hier nochmals zusammengefasst die imo beste Variante:In /templates/YOUR_TEMPLATE/javascript/default.js.php oder in eine eigens angelegte PHP-Datei in selbem Verzeichnis folgenden Code anlegen:Code: PHP  [Auswählen]$(function() {    if($('input[type="password"]').length) {        let $ipw = $('input[type="password"]'),            sh_pw = ' ';        $ipw.each(function() {            let $this = $(this),                th = $this.outerHeight(),                icfs = 22,                nth = th/2 - icfs/2;            $this.wrap('');            $(sh_pw).insertAfter($this).css({'position':'absolute', 'top':nth+'px', 'right':'5px', 'font-size':icfs+'px', 'color':'#555', 'cursor':'pointer'});        });        $('.shw-pw').on('click', function() {            let $that = $(this);                $tpi = $that.prev('input'),                tpiattp = $tpi.attr('type'),                tswp = tpiattp == 'password' ? true : false;             $tpi.prop('type', (tswp ? 'text' : 'password'));             $that.toggleClass('fa-eye', !tswp).toggleClass('fa-eye-slash', tswp);        });    }});In /templates/YOUR_TEMPLATE/stylesheet.css diesen Code anlegen:Code: CSS  [Auswählen]/*BOC "show pass" icon in passw fields, 05-2021, noRiddle*/#create_account .pssw-wrap {    display:inline-block;    width:95%;}#create_account .pssw-wrap input {    width:100%;}/*EOC "show pass" icon in passw fields, 05-2021, noRiddle*/[EDIT Tomcraft 01.10.2021: Code in Beitrag 1 aktualisiert.]\n\t\t\t" />
AdHoc MeldungenAffiliate & PublisherAdvertiser & MerchantAcademyAntwortenArtikelsucheAdventskalender SuperClix - das Partner-Programm-NetzwerkAffilitivProduktdatenPreisvergleich
Artikelsuche & Preisvergleich:

Re: ANLEITUNG: Button Passwort sichtbar machen

für 354.01€ kaufen ··· 409316 ··· 105787873 ···
\nJau, muß default.js.php heißen. Man kann doch aufpassen wie man will, es schleicht sich trotzdem oft ein Fehlerchen ein. Du kannst aber auch eine extra PHP-Datei beliebigen Namens mit dem Code anlegen.Ja, in der 2.0.6.0 wird der Unterstrich als Sonderzeichen akzeptiert (wenn Backend => Konfiguration => Minimum Werte => "Passwort Sonderzeichen" einen Wert > 0 enthält, ansonsten sowieso),Gruß,noRiddle*NACHTRAG*Hier nochmals zusammengefasst die imo beste Variante:In /templates/YOUR_TEMPLATE/javascript/default.js.php oder in eine eigens angelegte PHP-Datei in selbem Verzeichnis folgenden Code anlegen:Code: PHP  [Auswählen]$(function() {    if($('input[type="password"]').length) {        let $ipw = $('input[type="password"]'),            sh_pw = ' ';        $ipw.each(function() {            let $this = $(this),                th = $this.outerHeight(),                icfs = 22,                nth = th/2 - icfs/2;            $this.wrap('');            $(sh_pw).insertAfter($this).css({'position':'absolute', 'top':nth+'px', 'right':'5px', 'font-size':icfs+'px', 'color':'#555', 'cursor':'pointer'});        });        $('.shw-pw').on('click', function() {            let $that = $(this);                $tpi = $that.prev('input'),                tpiattp = $tpi.attr('type'),                tswp = tpiattp == 'password' ? true : false;             $tpi.prop('type', (tswp ? 'text' : 'password'));             $that.toggleClass('fa-eye', !tswp).toggleClass('fa-eye-slash', tswp);        });    }});In /templates/YOUR_TEMPLATE/stylesheet.css diesen Code anlegen:Code: CSS  [Auswählen]/*BOC "show pass" icon in passw fields, 05-2021, noRiddle*/#create_account .pssw-wrap {    display:inline-block;    width:95%;}#create_account .pssw-wrap input {    width:100%;}/*EOC "show pass" icon in passw fields, 05-2021, noRiddle*/[EDIT Tomcraft 01.10.2021: Code in Beitrag 1 aktualisiert.]\n\t\t\t
Hersteller:
Marke:
EAN:
Kat: 2021/10
Lieferzeit:
Versandkosten:
Icon:
Bild:

14:
15: 1640605615
16: #
17: 0
18: #####
19:
20:
21:
22: #
23: Re: ANLEITUNG: Button Passwort sichtbar machen
24:
25:
5:
6:
7: Re: ANLEITUNG: Button Passwort sichtbar machen
:::: 2021/10
···· modified eCommerce
···· aufgenommen: 27.12.2021 · 12:46:47
···· & überprüft: 27.12.2021 · 12:46:47
: ANLEITUNG : Button : Passwort : sichtbar : machen :

Preisprotokol