JSD
Posts: 2
Nickname: jsd
Registered: Mar, 2003
|
|
Re: Help with Java menu
|
Posted: Mar 6, 2003 4:18 AM
|
|
Hi Each item of COOLjsMenu and COOLjsMenu PRO can have it's own position. Top menu has absolute coordinates, and items are positioned as following: position of the first item of submenu is controlled by "levelofs" field - displacement of this particular item from it's parent, and all other items are positioned relatively to previous item according to "itemoff" field. For example "Vertical" submenu was described like this: {"code":"Vertical", "sub":[ {"itemoff":[21,0]}, {"code":"SubItem 1"}, {"code":"SubItem 2"}, {"code":"SubItem 3"}, {"code":"SubItem 4"} ] } You can read this here http://javascript.cooldev.com/scripts/cooltree/docs/
|
|