[TYPO3] extension foldoutmenu and validate xhtml

Roelof Wobben rwobben at hotmail.com
Thu Apr 26 13:55:21 CEST 2007


Hello,

At this moment i use this extension fo my menu.
Because i had some css problems with it , it validate it on 
http://www.w3c.org
And 10 errors appear only on this extension.

This are the errors :

Error Line 42 column 47: there is no attribute "href".
...eft"><div id="menuz"><ul><li><A href="javascript:;" 
onmousedown="zmenu.foldMe
You have used the attribute named above in your document, but the document 
type you are using does not support that attribute for this element. This 
error is often caused by incorrect use of the "Strict" document type with a 
document that uses frames (e.g. you must use the "Transitional" document 
type to get the "target" attribute), or by using vendor proprietary 
extensions such as "marginheight" (this is usually fixed by using CSS to 
achieve the desired effect instead).

This error may also result if the element itself is not supported in the 
document type you are using, as an undefined element will have no supported 
attributes; in this case, see the element-undefined error message for 
further information.

How to fix: check the spelling and case of the element and attribute, 
(Remember XHTML is all lower-case) and/or check that they are both allowed 
in the chosen document type, and/or use CSS instead of this attribute. If 
you received this error when using the <embed> element to incorporate flash 
media in a Web page, see the FAQ item on valid flash.

&#9993;

Error Line 42 column 74: there is no attribute "onmousedown".
...i><A href="javascript:;" onmousedown="zmenu.foldMenu('zmenu-16');return 
false
&#9993;

Error Line 42 column 123: there is no attribute "style".
...enu('zmenu-16');return false;" style="cursor: pointer;cursor: hand;" 
class="n
&#9993;

Error Line 42 column 161: there is no attribute "class".
...cursor: pointer;cursor: hand;" class="no"><img 
src="typo3conf/ext/foldoutmenu
&#9993;

Error Line 42 column 165: element "A" undefined.
...or: pointer;cursor: hand;" class="no"><img 
src="typo3conf/ext/foldoutmenu/exa
You have used the element named above in your document, but the document 
type you are using does not define an element of that name. This error is 
often caused by:

incorrect use of the "Strict" document type with a document that uses frames 
(e.g. you must use the "Frameset" document type to get the "<frameset>" 
element),
by using vendor proprietary extensions such as "<spacer>" or "<marquee>" 
(this is usually fixed by using CSS to achieve the desired effect instead).
by using upper-case tags in XHTML (in XHTML attributes and elements must be 
all lower-case.

&#9993;

Error Line 42 column 355: end tag for element "a" which is not open.
...open" title="Click to open" />Home</a><ul id="zmenu-16"><li><a 
href="index.ph
The Validator found an end tag for the above element, but that element is 
not currently open. This is often caused by a leftover end tag from an 
element that was removed during editing, or by an implicitly closed element 
(if you have an error related to an element being used where it is not 
allowed, this is almost certainly the case). In the latter case this error 
will disappear as soon as you fix the original problem.

If this error occured in a script section of your document, you should 
probably read this FAQ entry.

&#9993;

Error Line 42 column 536: end tag for "A" omitted, but OMITTAG NO was 
specified.
..."" title="" />test2</a></li></ul></li><li><A href="javascript:;" 
onmousedown=
You may have neglected to close an element, or perhaps you meant to 
"self-close" an element, that is, ending it with "/>" instead of ">".

&#9993;

Info Line 42 column 39: start tag was here.
<div id="left"><div id="menuz"><ul><li><A href="javascript:;" 
onmousedown="zmenu
Error Line 42 column 667: element "A" undefined.
...or: pointer;cursor: hand;" class="no"><img 
src="typo3conf/ext/foldoutmenu/exa
&#9993;

Error Line 42 column 865: end tag for element "a" which is not open.
...tle="Click to open" />Zwangerschap</a><ul id="zmenu-17"><li><a 
href="index.ph
&#9993;

Error Line 42 column 1054: end tag for "A" omitted, but OMITTAG NO was 
specified.
...="" />Februari 2005</a></li></ul></li></ul></div>
&#9993;

Info Line 42 column 541: start tag was here.
...tle="" />test2</a></li></ul></li><li><A href="javascript:;" 
onmousedown="zmen


Is there a way i can make this valid or can i better use another 
menu-extension ?

Regards,

Roelof

_________________________________________________________________
Eindeloos zoeken naar dat ene document is nu voorbij! Klik hier 
http://toolbar.live.com



More information about the TYPO3-english mailing list