Item sizing

Each item of COOLjsMenu and COOLjsMenu Professional can have it's own size. To specify size of the individual item, use the following construction:

{code:"SubItem 2", format:{size:[22,100]}}

To specify size for all items of some submenu, use the following construction:

{code:"Equal",
    sub:[
        {size:[30,80]},
        {code:"SubItem 1"},
        {code:"SubItem 2"},
        {code:"SubItem 3"},
        {code:"SubItem 4"}
    ]
}

Keep in mind that "size" field has the following structure: [height,width].

Copyright © CoolDev.Com 1997-2007.