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.
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.
The NOSCRIPT element, also new in HTML 4.0, provides alternate content for browsers with client-side scripting disabled or not supported.
Das NOSCRIPT Element, ebenfalls neu in HTML 4.0, stellt alternativen Inhalt für Browser mit deaktivierten oder nicht unterstütztem client-seitigem Scripting dar.
Next, we create a new noscript element, which is inserted before the image.
Abschließend erstellen wir ein neues noscript-Element, das wir vor dem Bild einfügen.
After that, we append the image to the noscript element and add the src attribute.
The noscript element must contain only link, style, and meta elements. In a head element, if scripting is enabled for the noscript element
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.
To add a fallback for deactivated JavaScript, we generate a 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.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.
No results found for this meaning.
Synonyms and analogies of "noscript element" in English