[TYPO3-content-rendering] Valid GMENU with rollover in XHTML 1.0 strict

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sun Aug 14 10:32:44 CEST 2005


Christian Trabold schrieb:
> Hello list,
> 
> is it possible to make XHTML-1.0 strict GMENUs?
> 
> The validator complains about the "name" attribute.
> 
> The HTMLCleaner strips them from the img-tag so no rollovers are 
> possible anymore, so I allowed the name-attribute in image-tags. ;)
> 
> 
> I tried to modify the class "tslib_menu" to change the name attribute to 
> id, but with no success. :(
> 
> Is there another line of code I have to modify?

Did you check the javascript code that performs the actual roll-over? It 
has to be changed to work with ids. Mind that this will probably disable 
roll-overs for ancient browsers.

Masi



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