We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
noscript element
Abschließend müssen wir den Bildern noch eine Klasse mitgeben, die das Lazy-Load-Plugin vorgibt, und das noscript-Element erstellen.
Finally, we have to add a class to the images to get the lazy loading plugin working and create the noscript element.
Das Plugin fügt ein noscript-Element als Fallback für deaktiviertes JavaScript ein.
The plugin adds a noscript element as fallback for disabled JavaScript.
Das NOSCRIPT-Element kann verwendet werden um auch Browsern, die Client-seitiges Scripting nicht unterstützen oder es deaktiviert haben, Inhalte anzubieten.
The NOSCRIPT element can be used to provide content for browsers that do not support client-side scripting or have it disabled.
Hinweis: Im Normalfall sollten so alle Bilder auch ein noscript-Element bekommen.
Tip: In the normal case, this should add a noscript element to all images.
Jetzt hat mich der User wprox im -Support-Forum auf eine alternative Lösung aufmerksam gemacht, die er im Blogartikel Nice and easy lazy loading with lazysizes.js von Steve McKinney gefunden hat: Die Styles für deaktiviertes JavaScript einfach in ein noscript-Element schreiben.
Now the user wprox showed me an alternative solution in the support forum, that he got from the article Nice and easy lazy loading with lazysizes.js by Steve McKinney: Simply put the styles for disabled JS into a noscript element.
Abschließend erstellen wir ein neues noscript-Element, das wir vor dem Bild einfügen.
Next, we create a new noscript element, which is inserted before the image.
Danach wird das Bild in das noscript-Element eingefügt und das src-Attribut eingefügt.
After that, we append the image to the noscript element and add the src attribute.
Danach entfernen wir die Attribute sizes und srcset und speichern für das Bild in dem noscript-Element den Wert des src-Attributs.
After doing this, we can remove the sizes and srcset attributes and save the image URL for the noscript image which will be added later.
Lesen wir doch mal in der Spec nach, was das noscript-Element beïnhalten darf: Soll heißen: Im Browser, wenn JavaScript aktiviert ist, ist der Inhalt des noscript-Elements einfach nur Text.
The noscript element must contain only link, style, and meta elements. In a head element, if scripting is enabled for the noscript element
Um einen Fallback für Browser zu erstellen, die kein JavaScript beherrschen, fügen wir bei jedem Bild noch ein noscript-Element ein.
To add a fallback for deactivated JavaScript, we generate a noscript element.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.