JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Setting jsmenu to vertical align

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu
Author Message
Georgep
Guest





PostPosted: Mon Jun 23, 2003 5:35 am    Post subject: Setting jsmenu to vertical align Reply with quote

I have just purchased the jsmenupro and want to align the original menu supplied to vertical instead of horizontal. What is the easiest wat to do this.
Back to top
camner



Joined: 05 Jun 2003
Posts: 21

PostPosted: Mon Jun 23, 2003 7:46 pm    Post subject: Reply with quote

I would study the provided examples carefully. Each of the examples comes with its own menuitems.js file. Fooling around with different itemoff and leveloff parameters taught me a lot about how the menus are configured, as well as letting me see how incredibly flexible this script is.

I have to say that I find cooljsmenus among the easier to use javascript menu offerings out there (though it isn't trivial to learn!).
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Thu Jun 26, 2003 8:37 pm    Post subject: Reply with quote

Generally, you need to modify "itemoff" property of the top levels (first instance of "itemoff" word in your menuitems.js). If your items' sizes are defined like this - "size":[22,100], then item offsets should be similar to this - "itemoff":[21,0].
But it will be much better if I'll have a look at your menuitems.js file and then will change some numbers because probably there are several places in you file where itemoff must be modified.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu All times are GMT
Page 1 of 1