Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:42
More menu on 'type' please?
Poster: twing
Dated: Wednesday June 1 2005 - 7:36:40 BST
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,
Poster: Ruth
Dated: Thursday June 2 2005 - 23:10:51 BST
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
example please
Poster: twing
Dated: Tuesday July 12 2005 - 7:04:16 BST
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,
Poster: Ruth
Dated: Tuesday July 12 2005 - 14:52:29 BST
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