t0wer
BlackHerald
- Регистрация
- 24 Июн 2008
- Сообщения
- 743
- Реакции
- 441
- Автор темы
- #1
На сайте (движок 8.2) стоит модуль "Трехмерное облако тэгов".
Вопрос:
При валидации сервисом W3C ругается на непонятный тэг:
Каким образом можно обмануть сервис валидатора, чтобы убрать такого рода ошибку при этом оставив модуль полностью работоспособным?!
вот часть кода модуля:
Вопрос:
При валидации сервисом W3C ругается на непонятный тэг:
Код:
[COLOR="Red"]Line 386, Column 50: element "tags" undefined. Did you mean "table" or "meta"?
…_cl_temp = encodeURIComponent("<tags><a href='…[/COLOR]
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).
вот часть кода модуля:
HTML:
<script type="text/javascript">
var tagcloud_cl = new SWFObject("/engine/classes/tagcloud/tagcloud.swf", "tagcloud", "160", "160", "9", "#6fffff");
var tagcloud_cl_temp = encodeURIComponent("<tags><a href='http://