[Typo3-dev] Is typo3.6.1 (dummy) not valid with standard "W3C XHTML 1.0" ?
Andreas Schwarzkopf
a.schwarzkopf at meinsystem.de
Tue Jul 6 22:19:54 CEST 2004
Hi Humbann,
the javascirpt snippet seems not to belong to the dummy package nor to
typo3 and the way it is used is not normal in typo3, so check your
template settings please.
If your document has to be valid to XHTML 1.0, then you have do declare
it: config.doctype = xhtml_trans (see TSRef)
You will probably get more help in the (general) english mailing list,
this is the core development list
greetings
Andreas
Hubmann schrieb:
> I tested the dummy3.6.1-package with CSE HTML Validator Lite v.3.50.
>
> setup:
> # Default PAGE object:
> page = PAGE
> page.typeNum = 0
> page.10 = TEXT
> page.10.value = Test
>
> ------------------
>
> There was an error - message by CSE HTML Validator Lite v.3.50 because after
> "... </body></html> follows <script language="JavaScript"> .....</script>
>
> The "script" tag was found, but it is not valid due to where it is used.
> This element may be contained in "body" and "head". This element may not be
> contained in "frameset". The tag is currently not contained in an element
> that allows its use.
>
> ---------------
>
> This is the website-output (dummy3.6.1-package):
>
> <!DOCTYPE html
> PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <html>
> <head>
> .....
> </head>
> <body>
>
> Test
>
> </body>
> </html>
> <script language="JavaScript">
> <!--
> var SymRealOnLoad;
> var SymRealOnUnload;
>
> function SymOnUnload()
> {
> window.open = SymWinOpen;
> if(SymRealOnUnload != null)
> SymRealOnUnload();
> }
>
> function SymOnLoad()
> {
> if(SymRealOnLoad != null)
> SymRealOnLoad();
> window.open = SymRealWinOpen;
> SymRealOnUnload = window.onunload;
> window.onunload = SymOnUnload;
> }
>
> SymRealOnLoad = window.onload;
> window.onload = SymOnLoad;
>
> //-->
> </script>
>
>
More information about the TYPO3-dev
mailing list