The Artima Developer Community
Sponsored Link

Java Answers Forum
Help with Java menu

1 reply on 1 page. Most recent reply: Mar 6, 2003 4:18 AM by JSD

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Alex

Posts: 2
Nickname: jsdevel
Registered: Feb, 2003

Help with Java menu Posted: Mar 4, 2003 7:28 AM
Reply to this message Reply
Advertisement
Hi all. I have some troubles with this JavaScript menu (http://javascript.cooldev.com/scripts/coolmenu/). Could you help me? Where must I insert menu's coordinates on the web-page. In which files?


JSD

Posts: 2
Nickname: jsd
Registered: Mar, 2003

Re: Help with Java menu Posted: Mar 6, 2003 4:18 AM
Reply to this message Reply
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/

Flat View: This topic has 1 reply on 1 page
Topic: JAVA x WMI Previous Topic   Next Topic Topic: j2ee projects

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use