Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by LDC on Sep 16, 2009 03:25
open dhtmlx forum
dhtmlxmenu: top level image and seperators:

Hi, I have two questions regarding the top level in the dhtmlxmenu.

1) Top level items uniform widths.

We are using down arrow image in some of the top level items to indicate the existance of a submenu.
These images are given a right positioning through the TopLevel_Item_Icon in the style sheet (positioning-absolute-right); this is to have the down arrow image appear to the right of its menu item.
This works fine. However, doing this means the menu item widths do not size to accommodate the existance of an image. This results in the image displaying very close to the next item in the menu, giving the appearance of uneven distribution.

Is there any way to control the widths of items containing images and those that do not?
To give to items with images larger widths to accomodate that image.

2) Top level seperators.

We would like to include seperators in the menu top level, which you have recently said will be included in the next release.
Do you have an idea of when this next release will be available?

Thanks.


Answer posted by Alex (support) on Sep 18, 2009 06:17

Hello, 

the sample with arrow images in the top level menu is attached 

>> We would like to include seperators in the menu top level, which you have recently said will be included in the next release.

Top level separators are already implemented in the latest menu version. Just add the item with separator type into the necessary place:

<item id="sep_1" type="separator"/>

Attachments (1)
50.zip42.33 Kb