Strict Standards: Resource ID#25 used as offset, casting to integer (25) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/fm.class.php on line 401

Strict Standards: Resource ID#27 used as offset, casting to integer (27) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/fm.class.php on line 401

Strict Standards: Resource ID#28 used as offset, casting to integer (28) in /home/tvoyweb/domains/tvoyweb.ru/public_html/forums/include/fm.class.php on line 401
ТвойWeb :: Версия для печати :: JS + W3C =
ТвойWeb » WebMaster класс » JavaScript » JS + W3C =

Страниц (1): [1]
 

1. Gosudar - 31 Марта, 2008 - 15:33:58 - перейти к сообщению
После валидации своего движка:
Цитата:
there is no attribute "OnMouseOver"

Цитата:
there is no attribute "onload"

и что-же используя JS-обработчики событий я не могу пройти валидацию?
2. Furax - 31 Марта, 2008 - 21:21:47 - перейти к сообщению
Gosudar
Добавлять обработчики в DOM2 нужно динамически с помощью метода addEventListener. Другое дело, что в IE6 (про IE7 не знаю) он не работает, но, опять же, добавляем динамически - на этот раз через свойства onclick, onload, etc.

Форум на AlfaSpace.NET


Powered by ExBB
ExBB FM 1.0 RC1 by TvoyWeb.ru
InvisionExBB Style converted by Markus®

[Script Execution time: 0.0298]     [ Gzipped ]