Bug #15935
closedGMENU rollovers dont work in IE and when config.removeDefaultJS = 1
0%
Description
GMENU rollovers in RC2 seem not to work in IE. Additionally, they stop working for other browser as well when config.removeDefaultJS = 1 is set.
The default JS contains a browser sniffing routine that sets a "version" variable. For GMENU, images are made with "new Image();" and the whole block of images is encapsulated in a if (version == "n3" ) statement. When default JS is switched off, there is no more browser sniffing and this throws a "version is not defined" errors in the JS Console = rollovers stop working.
Additionally, it appears the rollovers don't work in IE regardless of defaultJS on/off.
This issue is related to
[1] http://bugs.typo3.org/view.php?id=874
[2] http://lists.typo3.org/pipermail/typo3-dev/2005-June/011044.html
[3] http://lists.typo3.org/pipermail/typo3-project-content-rendering/2006-March/000827.html
One solution could be to drop the if (version == "n3" ) statements in class.tslib_fe.php in function INTincScript_loadJSCode() and function setJS.
(issue imported from #M3038)