PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Wordpress - Word Genearator
Beitrag
<blockquote data-quote="TappamWah" data-source="post: 2721412" data-attributes="member: 664994"><p>Jetzt wieder eine schlaflose Nacht hinter sich gebracht, bin aber etwas weiter))</p><p></p><p>Allerdings zwei Probleme:</p><p>Jedes Mal wenn ich, CSS oder HTML aktualisiere, dann ändert sich der Code in JS von:</p><p>[CODE] document.getElementById('qpwo_sentence').innerHTML = "&quot;" + content + "&quot;";</p><p> };</p><p> qpwo_sentence();[/CODE]</p><p></p><p>ins</p><p></p><p>[CODE]document.getElementById('qpwo_sentence').innerHTML = """ + content + """;</p><p> };</p><p> qpwo_sentence();[/CODE]</p><p>Und als Folge habe ich unexpected String bei</p><p>[CODE]""" + content + """;[/CODE]</p><p>stehen...</p><p></p><p>Problem Nr2 </p><p>Der generierte Text wird so angezeigt:</p><p><a href="https://ibb.co/729sHxq" target="_blank"><img src="https://i.ibb.co/WgTmQNL/Untitled.jpg" alt="" class="fr-fic fr-dii fr-draggable " data-size="" style="" /></a></p><p></p><p>Und das wird wohl wieder CSS sein....</p><p>[CODE]body {</p><p> color: #2e2e2e;</p><p> font-family: arial;</p><p> font-size: 21px;</p><p> text-align: justify;</p><p> margin: 20px;</p><p> margin-left: 0 Auto;</p><p>}</p><p></p><p>.qpwo_container {</p><p> background-color: #35A54A;</p><p> color: whitesmoke;</p><p> position: relative;</p><p> margin-top: 2vh;</p><p> height: 565px;</p><p> padding-top: 14vh;</p><p> box-sizing: border-box;</p><p>}</p><p></p><p>.qpwo_container p {</p><p> margin-top: 10vh;</p><p> padding: 5px;</p><p> line-height: 1.6;</p><p> -webkit-hyphens: auto;</p><p> -moz-hyphens: auto;</p><p> -ms-hyphens: auto;</p><p> hyphens: auto;</p><p> width: 73px;</p><p> top: 20vh;</p><p>}</p><p></p><p>h1 .qpwo {</p><p> font-size: 20px;</p><p> text-align: center;</p><p> font-family: 'Fira Sans Condensed', sans-serif;</p><p> margin-right: 20px;</p><p>}</p><p></p><p> qpwo_button {</p><p> height: 60px;</p><p> justify-content: right;</p><p> outline: none;</p><p> font-famiy: sans-serif;</p><p> position: relative;</p><p> padding: 20px;</p><p> width: 120px;</p><p> left: 100vh;</p><p> border: none;</p><p> background-color: #fff;</p><p> border: 3px dotted #1b1b1b;</p><p> color: #1b1b1b;</p><p> transition: 500ms ease-in;</p><p> font-size: 14px;</p><p> display: flex;</p><p> justify-content: center;</p><p>}</p><p></p><p> qpwo_button i {</p><p> margin-left: 3px;</p><p>}</p><p></p><p> qpwo_button:hover {</p><p> color: #fff;</p><p> background-color: #1b1b1b;</p><p>}</p><p></p><p>.qpwo_container:first-child {</p><p> height: 30vh !important;</p><p>}</p><p></p><p>@media screen and (max-width: 565px) {</p><p> .qpwo_container p {</p><p> font-size: 17px;</p><p> }</p><p> div:first-child {</p><p> height: 2vh;</p><p> }</p><p>}</p><p></p><p>@media screen and (min-width: 565px) {</p><p> body {</p><p> text-align: center;</p><p> }</p><p>}[/CODE]</p></blockquote><p></p>
[QUOTE="TappamWah, post: 2721412, member: 664994"] Jetzt wieder eine schlaflose Nacht hinter sich gebracht, bin aber etwas weiter)) Allerdings zwei Probleme: Jedes Mal wenn ich, CSS oder HTML aktualisiere, dann ändert sich der Code in JS von: [CODE] document.getElementById('qpwo_sentence').innerHTML = """ + content + """; }; qpwo_sentence();[/CODE] ins [CODE]document.getElementById('qpwo_sentence').innerHTML = """ + content + """; }; qpwo_sentence();[/CODE] Und als Folge habe ich unexpected String bei [CODE]""" + content + """;[/CODE] stehen... Problem Nr2 Der generierte Text wird so angezeigt: [url=https://ibb.co/729sHxq][img]https://i.ibb.co/WgTmQNL/Untitled.jpg[/img][/url] Und das wird wohl wieder CSS sein.... [CODE]body { color: #2e2e2e; font-family: arial; font-size: 21px; text-align: justify; margin: 20px; margin-left: 0 Auto; } .qpwo_container { background-color: #35A54A; color: whitesmoke; position: relative; margin-top: 2vh; height: 565px; padding-top: 14vh; box-sizing: border-box; } .qpwo_container p { margin-top: 10vh; padding: 5px; line-height: 1.6; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; width: 73px; top: 20vh; } h1 .qpwo { font-size: 20px; text-align: center; font-family: 'Fira Sans Condensed', sans-serif; margin-right: 20px; } qpwo_button { height: 60px; justify-content: right; outline: none; font-famiy: sans-serif; position: relative; padding: 20px; width: 120px; left: 100vh; border: none; background-color: #fff; border: 3px dotted #1b1b1b; color: #1b1b1b; transition: 500ms ease-in; font-size: 14px; display: flex; justify-content: center; } qpwo_button i { margin-left: 3px; } qpwo_button:hover { color: #fff; background-color: #1b1b1b; } .qpwo_container:first-child { height: 30vh !important; } @media screen and (max-width: 565px) { .qpwo_container p { font-size: 17px; } div:first-child { height: 2vh; } } @media screen and (min-width: 565px) { body { text-align: center; } }[/CODE] [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ▲ = 7, ▼ = 3, ◇ = 2 und die Summe von ▲ und ▼ durch ◇ geteilt wird, was ist das Ergebnis?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
Webdesign: HTML/CSS, Responsive Design, Sass...
Wordpress - Word Genearator
Oben