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 

How to set custom width on each main button

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



Joined: 02 May 2007
Posts: 1

PostPosted: Wed May 02, 2007 4:03 pm    Post subject: How to set custom width on each main button Reply with quote

Hello please tell me how to set custom width on each main button in menu??
Here is my test configuration:

var MENU_ITEMS = [
['<b>BUTTON 1</b>', null, null],
['<b>Button 2</b>', null, null,
['test sub 1', 'http://www.softcomplex.com/products/tigra_menu/'],
['test sub 2', '../']
],
['<b>Web Design</b>', null, null],
['<b>Development</b>', null, null,
['Test 123', 'http://www.softcomplex.com/support.html'],
]
];

Please tell me in whitch files i must edit and what ??

Where can I put the example code from site ???

{code:"Item 1", format:{size:[22,100]}}

Thank you
Best regards
zdrsoft
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Thu May 03, 2007 11:47 am    Post subject: Reply with quote

There is something really wrong in your message: first sample is actually a set of nodes for COOLjsTree, and second sample demonstrates how one can set up special size for COOLjsMenu's item. You're mixing config files for absolutely different scripts. Please, correct this misunderstanding and get back here again.
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