[TYPO3-english] realurl and selector box menu / drop down menu

JoH asenau info at cybercraft.de
Thu Feb 11 19:04:17 CET 2010


> Also, if for any reason JSMENU is not to your liking or doesn't suit
> your requirements (e.g. if you want to use jQuery or Mootools etc to
> handle the javascript, or you want optgroup items or something), it's
> pretty easy to do using TMENU to generate the links:
>
> http://www.typo3apprentice.com/blog/single/p/javascript-jump-menu-in-ts/

Just took a look at the code and there is one thing you should better not do
as shown in the example: Opening and closing form tags should be created
using a dataWrap of the HMENU instead of HTML elements before and after.

parameter.data = field:uid
is the same as
parameter.field = uid

What's really cool about it is the way wrapItemAndSub is used to get the
closing </optgroup> tag.

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com




More information about the TYPO3-english mailing list