Seite 1 von 1

Valide fehler mit Javascript

Verfasst: Sa 26. Jan 2013, 18:52
von goefi-chiangmai
Kriege einen fehler nicht raus mit dem Valiator!
Vielleicht weiss jemand von euch bescheid! Mein englisch ist auch nicht das beste

Doctyp: XHTML 1.0 Transitional

Fehler:
Error Line 25, Column 83: there is no attribute "onMouseout"

…over="move('container',4)" onMouseout="clearTimeout(move.to)"><img src="bilder…


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.
P.S geht Um diese test seite mit der Javascript Navi: http://npage-hilfe.cwsurf.de/demo/kathrina4/index.html

Re: Valide fehler mit Javascript

Verfasst: Sa 26. Jan 2013, 19:33
von Jasko
So sollte es klappen:

http://npage-hilfe.cwsurf.de/demo/kathrina4/porbe.html

Kannst im Quellcode nachschauen was ich verändert habe...

Ich glaube ich habe auch die Scrollrichtung bei den Bildern vertauscht, aber das lässt sich beheben, wenn man die 4 und die -4 wieder vertauscht. :JJ

Re: Valide fehler mit Javascript

Verfasst: Sa 26. Jan 2013, 19:42
von goefi-chiangmai
Jasko hat geschrieben:Ich glaube ich habe auch die Scrollrichtung bei den Bildern vertauscht, aber das lässt sich beheben, wenn man die 4 und die -4 wieder vertauscht. :JJ
Ja habe ich auch gleich Bemerkt
-

Super Danke :X Werde das morgen zurechtrichten, für heute habe ich genug, schon spät :E