Bug #16277
closedGMENU - IE fails to respond to mouse over when using XHTML strict
0%
Description
In class.ts_lib_fe.php the generated Javascript code is probably not XHTML compatible. I was not able to conclusively figure out if this is a one of IE's "features" or is according to specification.
The following "works" however...
In the over / out js functions for the rollovers the IE check works under trans but not under strict.
In over/out
typeof(document.getElementById)=="function"
needs to be when using xhtml strict with IE in over/out
typeof(document.getElementById)=="object"
I am not familiar enough with the core to supply a proper patch.
There is a news group article http://lists.typo3.org/pipermail/typo3-english/2006-May/024050.html in which this was initially mentioned.
(issue imported from #M3729)
Files
Updated by Marc Wöhlken over 18 years ago
Hi!
The problem is located at line 3648 and 3654 in file class.tslib_fe.php:
Instead of
else if (typeof(document.getElementById)=="function" && ...
it should be
else if ( (document.getElementById) && ...
Regards
Marc & Sven
Updated by Patrick Gaumond almost 18 years ago
We had this exact problem and the fix worked.
Ernesto, can you make a patch for the 4.1 release ? (I can't...)
: (
Patrick
Updated by Martin Kutschker almost 18 years ago
Interesting that typeof yields "object" in IE.
Updated by Markus Timtner over 17 years ago
This fix worked for me too.
Strange that it hasn't been put in 4.1.
Updated by Oliver Hader over 17 years ago
... because nobody managed yet to create a patch file. Now there is one! ;-)
Updated by Sudara Williams - over 17 years ago
Hello!
I would just like to push a bit to get this included in the next release - it would have been nice to see it fixed in 4.1.1
Without this patch xhtml strict sites cannot use GMENUs with rollovers (while still supporting IE ;)
Danke!
Updated by Ernesto Baschny over 17 years ago
Fix commited to trunk + TYPO3_4-1. So it should be in 4.1.2 and 4.2.x.
Updated by Chris topher over 12 years ago
- Category deleted (
Communication) - Target version deleted (
0)