[TYPO3-core] RFC: Bug 5053: imgNameNotRandom on TMENU/GMENU could break rollover behaviour

Oliver Hader oh at inpublica.de
Sat Feb 24 14:22:46 CET 2007


This is a SVN patch request.

Problem:
Graphical navigation menus set the HTML "name" attribute normally to a
value like "<target-page-id>_<md5-part>_<item-index>", e.g. like
"img16_66e5_1" or "img17_66e5_2".
The property "imgNameNotRandom", available for GMENU and TMENU, removes
the md5-part and the item-index. Result: "img16", "img17", ...
The name attribute is necessary for rollover effects to work correctly.
But if all items point to the same page, e.g. for disposal in a language
menu, all items have the same name attribute and thus it breaks the
rollover behaviour.

Solution:
If the property "imgNameNotRandom" is set, include the item-index, e.g.
"img16_0", "img16_1", etc.

Comments:
Fix by Ralf Hettinger

Bugtracker references:
http://bugs.typo3.org/view.php?id=5053

Branch: TYPO3_4-0 & Trunk


olly
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005053_4.0.patch
Type: text/x-diff
Size: 1324 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070224/af49a429/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005053_4.1.patch
Type: text/x-diff
Size: 1212 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070224/af49a429/attachment-0001.bin 


More information about the TYPO3-team-core mailing list