WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   [XHTML] Wie geht onLoad? (http://www.wcm.at/forum/showthread.php?t=121295)

Phil 08.01.2004 00:58

[XHTML] Wie geht onLoad? (geklärt)
 
Hallo leute,

meine Seite soll XHTML1.1 valid sein.
Ist sie auch, bis auf einen kleinen Schönheitsfehler:
Im Body-Tag ist der Java-Script Event-Handler "onLoad". Und den gibts scheinbar nicht. Der Validator suckt folgende Meldung aus:
Zitat:

Line 27, column 13: there is no attribute "onLoad" (explain...).

<body onLoad="LoginFocus();">
Wie kriege ich den Event-Handler standardkonform? Muss ich da irgendwas in der DTD verändern?

EDIT:
Hat sich erledigt. Für alle, dies Wissen wollen:

Man muss onload kleinschreiben.


Alle Zeitangaben in WEZ +2. Es ist jetzt 14:03 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag