[TYPO3-core] RFC: Bug #3729: RO on GMENU in IE doesn't work

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Apr 17 17:02:44 CEST 2007


This is a SVN patch request.

Branches: TYPO3_4-1 / Trunk

Problem:
A GMENU Roll-Over doesn't work in IE when your site is XHTML 1.1 compliant.

Solution:
The JavaScript for over() and out() needs some fixing in this case. See
attachment.

How to reproduce the error:

1) Create a GMENU with a RO effect, example:

lib.graphMenu = HMENU
lib.graphMenu.1 = GMENU
lib.graphMenu.1 {
  NO {
    XY = [10.w]+5,18
    10 = TEXT
    10.text.field = title
    10.fontColor = #000000
    10.fontFile = verdana.ttf
    10.fontSize = 12
    10.antiAlias = 1
    10.offset = 5,13
  }
  RO < .NO
  RO = 1
  RO {
    10.fontColor = #ff0000
  }
}

2) Use that in your template.

3) Make your page.config.doctype = xhtml_trans

4) Test the RO-effect in IE: Should work (text in black, rollover: text
in red).

5) Change doctype to xhtml_11

6) Test again in IE. Won't work (no rollover)

Now apply the patch and test 5-6 again. Test in other browsers, should
all work ok.


Thanks for Marc Wöhlken for the solution, Oliver Hader for the patch and
others for keeping up the pressure. :)

Cheers,
Ernesto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug3729.diff
Type: text/x-diff
Size: 1259 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070417/ee46718b/attachment.bin 


More information about the TYPO3-team-core mailing list