Project

General

Profile

Actions

Bug #15935

closed

GMENU rollovers dont work in IE and when config.removeDefaultJS = 1

Added by Torsten Schrade about 18 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-03-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

Updated by Alexander Opitz about 11 years ago

  • Category deleted (Communication)
  • Status changed from New to Needs Feedback
  • Target version deleted (0)

As 4.0 is very old, does this problem persist in newer TYPO3 CMS Versions like 4.5 or 6.0?

Actions #2

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Needs Feedback to Closed

No feedback for over 90 days.

Actions

Also available in: Atom PDF