Показать сообщение отдельно
Старый 08.09.2009, 05:59   #2
shuman
Senior Member
 
Регистрация: 21.11.2007
Сообщений: 217
По умолчанию

10.0.2 Common item states for TMENU, GMENU and IMGMENU series:
These properties are in common for TMENU, GMENU and IMGMENU series. That means they are not used by for instace the JSMENU.

Property:
Data type:
Description:
Default:

IFSUB
Boolean / (config)
Enable/Configuration for menu items which has subpages
0

ACT
Boolean / (config)
Enable/Configuration for menu items which are found in the rootLine
0

ACTIFSUB
Boolean / (config)
Enable/Configuration for menu items which are found in the rootLine and has subpages
0

CUR
Boolean / (config)
Enable/Configuration for a menu item if the item is the current page.
0

USR
Boolean / (config)
Enable/Configuration for menu items which are access restricted pages that a user has access to.
0

SPC
Boolean / (config)
Enable/Configuration for 'Spacer' pages.

Spacers are pages of the doktype "Spacer". These are not viewable pages but "placeholders" which can be used to devide menuitems.



Note: Rollovers doesn't work with spacers, if you use GMENU!
0

USERDEF1
Boolean / (config)
Userdefined, see .itemArrayProcFunc for details on how to use this.

You can set the ITEM_STATE values USERDEF1 and USERDEF2 (+...RO) from a script/userfunction processing the menu item array. See HMENU/special=userdefined or the property .itemArrayProcFunc of the menu objects.


USERDEF2
Boolean / (config)
(See above)



[tsrefcObject).HMENU.(mObj_itemStates)]



Order of priority: USERDEF2, USERDEF1, SPC, USR, CUR, ACTIFSUB, ACT, IFSUB
shuman вне форума   Ответить с цитированием