![]() |
|
#1
|
|||
|
|||
|
Hi,
I'm trying to place a horizontal menu "in a table" like shown in the example. I have problems finding the right values for these variables: [code:m4m1gjmlda] //Menu properties oCMenu.pxBetween=1 //Using the cm_page object to place the menu ---- //There are some differences between the browsers that I try to fix here. oCMenu.fromLeft=!bw.ns4?cmpage.x2 - 586:cmpage.x2 - 586 //We also need to "replace" the menu on resize. So: oCMenu.onresize="oCMenu.fromLeft=cmpage.x2 - 586" oCMenu.fromTop=100 oCMenu.rows=1 oCMenu.menuPlacement=0 [/code:m4m1gjmlda] The page where I'm trying to do this can be found on this temporary storage: [url:m4m1gjmlda]http://vps.ath.cx/oil[/url:m4m1gjmlda]. The Page itself is 757 pixxels width, and centered. I have to add the menu below the top grafic before the main area starts. Thanks in advance Joerg |
|
#2
|
|||
|
|||
|
Sorry, wrng Forum, I use Version 4 [:0]
|
|
#3
|
|||
|
|||
|
I have same kind of problem!!
I am trying to make diffrent item of menu with diffrent width. in config.js it says : "oCMenu.level[0].width=100 //The default width for each level[0] (top) items. You can override this on each item by spesifying the width when making the item. - Value: px || "%"" Here, What I do in menu-config.xml to create menu... <Menu name="ToDoListMenuFile" title="FILE" description="test" width="50"> <Item name="TDLnewcase" title="CASE" width="80 px" location="NewCase.jsp"/> <Item name="TDLnewitem" title="ITEM" width="110px" location="index.jsp"/> <Item name="TDLnewparty" title="PARTY" location="index.jsp"/> </Menu> If someone know how to deal with this pl let me know!! Thanks DP |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|