Where can I find more info about the 'type' menu item properties? What's the different between form, dragable, header or tree? Any example out there?
Thanks,
More menu on 'type' please?
Hi,
Usually the 'type' name refers to what its use is.
1. form, if you put a form in an item you would place type=form; in the aI string
2. draggable, there is a module to allow you to great menus that are draggable, if you use that and create that type of menu you'd insert type=draggable;
3. header, makes the aI string into a header, keeps it from changing the mouse pointer, from acting like a link, etc, and can be coded with the style headerbgcolor, headercolor etc.
4. tree, when you use the tree module to create a tree menu you would code the aI strings as type=tree.
5. html, that can be used when putting in html in the aI string
6. disabled, you can put that in an item to disable it. I've only seen it used with a function to disable an item at particular pages.
Those are all I know. I'm not sure if there are more.
Ruth
Usually the 'type' name refers to what its use is.
1. form, if you put a form in an item you would place type=form; in the aI string
2. draggable, there is a module to allow you to great menus that are draggable, if you use that and create that type of menu you'd insert type=draggable;
3. header, makes the aI string into a header, keeps it from changing the mouse pointer, from acting like a link, etc, and can be coded with the style headerbgcolor, headercolor etc.
4. tree, when you use the tree module to create a tree menu you would code the aI strings as type=tree.
5. html, that can be used when putting in html in the aI string
6. disabled, you can put that in an item to disable it. I've only seen it used with a function to disable an item at particular pages.
Those are all I know. I'm not sure if there are more.
Ruth
Last edited by Ruth on Tue Jul 12, 2005 2:02 pm, edited 1 time in total.
example please
Thanks for the reply,
I tried different type but I can't see any obvious differences. Whatever type I set, I still can put html text in the text property. eg text=Meni <img src=\"bla.gif\">;
Is there any example out there for each type?
Thanks,
I tried different type but I can't see any obvious differences. Whatever type I set, I still can put html text in the text property. eg text=Meni <img src=\"bla.gif\">;
Is there any example out there for each type?
Thanks,
Hi,
As far as I know there isn't an 'example' for all the types. There are samples of some of them, the draggable menu, menuitems as headers. I didn't go through the whole menu sample list.
Could you tell me what the problem is, what you are trying to do? For example, putting in a type=header; doesn't mean that you are precluded from say using html in an item, type=header just means that the 'item' takes it's style, [colors] from whatever you set in the menuStyle as headerbgcolor, headercolor etc., type=draggable; tells it it's going to use the dragdrop.js module and allow you to move the menu, type=form; tells it the item is a form and so on.
Ruth
As far as I know there isn't an 'example' for all the types. There are samples of some of them, the draggable menu, menuitems as headers. I didn't go through the whole menu sample list.
Could you tell me what the problem is, what you are trying to do? For example, putting in a type=header; doesn't mean that you are precluded from say using html in an item, type=header just means that the 'item' takes it's style, [colors] from whatever you set in the menuStyle as headerbgcolor, headercolor etc., type=draggable; tells it it's going to use the dragdrop.js module and allow you to move the menu, type=form; tells it the item is a form and so on.
Ruth