[Typo3] Urgent problem

Dominic Brander dominic at typo3.org
Sun May 22 23:14:58 CEST 2005


Gert Kaae Hansen wrote:
>>On the other hand, the dozens of javascript errors in the page might.
>>Just loading the page produces numerous errors in Firefox's javascript
>>console, and actually mousing over any of the menu items causes the
>>list of errors to grow into the hundreds...
> 
> 
> When i use the Javascript console in Firefox i don't see any problems, do 
> you have a program that could help me validate the javascripts on my site ?


the best would be to clean the code before you start to debug:
you have 2 content-type definitions:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


javascript definition is wrong:
<script language="JavaScript" type="Text/Javascript"><!--

should be
type="text/javascript">
<!--


or even better with respect to xhtml compliance:
<script type="text/javascript">
	/*<![CDATA[*/
<!--

// -->
	/*]]>*/
</script>



after this you may be lucky to find the mistake.


good luck!

dominic




-- 
________________________________________________________________________
Dominic Brander
Secretary - TYPO3 Association
http://association.typo3.org



More information about the TYPO3-english mailing list