function.popup_init.php - non strict html

[email protected] (Alain Williams) Wed, 6 Apr 2005 13:19:59 +0100
Newsgroups php.smarty.dev
Organization Parliament Hill Computers Ltd
Message-ID <[email protected]>
Running my smarty web pages through the w3c validator (http://validator.w3.org/)
I get the error below. It seems that ''language="JavaScript"'' is not an attribute to <script>.

Do we need it, will removing it mean that overlib does not work on some older browsers ?

(I note that MS IE6 does not show the overlib popups on something that work with mozilla/firefox).




Line 11, column 40: there is no attribute "LANGUAGE"

<script type="text/javascript" language="JavaScript" src="/javascripts/overlib.j

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.


-- 
Alain Williams
Parliament Hill Computers Ltd.
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256

#include <std_disclaimer.h>
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCU9PvikkW5JBhACYRAlHnAKCt8CSSXkDKOBT13BpdijnpJ2O0RACfWnaO
iufnRIdmjhlLEfKJ12sgNak=
=PpLa
-----END PGP SIGNATURE-----