[TYPO3-content-rendering] GTMENU XHTML Compliancy Bug?

Nick Weisser typo3 at openstream.ch
Fri Nov 3 14:05:29 CET 2006


Hi there,

I've recently implemented the fabulous GTMENU into my TYPO3 4.0.2
website. I'm using the standard page module with auto template parser
and rlmp's template selector.

Today I've noticed that the W3C Validation Markup Service is showing me
one error for XHTML 1.0 transitional, because GTMENU's iproc function
seems to add an onload attribute to a closing p tag:

<p class="hidden"><img src="typo3temp/menu/04a5db9072.png"
class="hidden" width="175" height="20" alt="" /></p
onload="t3_onloadwrapper();">

It seems to be added on line 94 through the
$GLOBALS['TSFE']->pSetup['bodyTagAdd'] variable.

Any pointers as to why the onload attribute is being added in such an
extraordinary place would be very much appreciated.
-- 
Regards
Nick Weisser

Openstream Internet Solutions
http://www.openstream.ch



More information about the TYPO3-project-content-rendering mailing list