Zum Inhalt springen

Mit Lightbox kein valider Code

Erstellt am 5. August 2008 · 2 Antworten · letzte Antwort am 8. August 2008

Tags: Frage

Arnie2001 ·

Hallo Leute, mit der Lightbox erhalte ich bei der Validierung über http://validator.w3.org immer folgende Fehlermeldungen:

-------------------------------------------------------------
# Warning Line 22, Column 140: character "&" is the first character of a delimiter but occurred as data.

…er(function(el) {return $E('img',el) && el.rel.test(/^lightbox/i);});slimboxL

✉

This message may appear in several cases:

* You tried to include the "<" character in your page: you should escape it as "&lt;"
* You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
* Another possibility is that you forgot to close quotes in a previous tag.

# Warning Line 22, Column 141: character "&" is the first character of a delimiter but occurred as data.

…r(function(el) {return $E('img',el) && el.rel.test(/^lightbox/i);});slimboxLi

&#9993;

This message may appear in several cases:

* You tried to include the "<" character in your page: you should escape it as "&lt;"
* You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&amp;", which is always safe.
* Another possibility is that you forgot to close quotes in a previous tag.

# Error Line 22, Column > 80: XML Parsing Error: xmlParseEntityRef: no name.

…vent('domready', function (){var slimboxLinks = $$("a").filter(function(el) {…

&#9993;
# Error Line 22, Column > 80: XML Parsing Error: xmlParseEntityRef: no name.

…vent('domready', function (){var slimboxLinks = $$("a").filter(function(el) {…

-------------------------------------------------------------

Komischerweise meckert das Firefoxplugin HTML-tidy nicht, dh. es wird immer schön grün unten in der Tastleiste angezeigt.

Gibt es für den Fehler schon ein Lösung?

Gruß und Danke!

Eros ·

Ich vermute, Du verwendest die pmkslimbox!

Dann hau das Slimbox-Magnify-t3m (pmkslimbox) wieder aus den static templates raus. Die Lupe ist ja nicht unbedingt notwendig.

Arnie2001 ·
Eros schrieb

Ich vermute, Du verwendest die pmkslimbox!

Dann hau das Slimbox-Magnify-t3m (pmkslimbox) wieder aus den static templates raus. Die Lupe ist ja nicht unbedingt notwendig.

Ja super, du hast recht.. nun ist wieder alles valide

Danke dir....