Sigma Visual Manual sigmasoft logo

Contents

How to add new items to a menu/tab/stack

  

After you add a menu component to your web page by dragging it from [Tools Box], that menu bar will have tow menu items. See following figure.

Add new items to a menu tab stack

  • Click the menu to select it.
  • Click the icon before [properties] in [Component Config Window], then all the properties for menu will collapse.
  • Click [properties → items] and then value of [properties → items] will high light, as the following figure shows.

Add new items to a menu tab stack

Click [key/value pairs] to pop up a dialog like the following figure. 

Add new items to a menu tab stack

  • Input the following text.

[{

    "id" : "file",

    "caption" : "File",

    "sub" : [{

        "id" : "Open",

        "caption" : "Open"

    },

    {

        "id" : "Save",

        "caption" : "Save"

    },

    {

        "id" : "SaveAs",

        "caption" : "Save As... "

    }]

}]

  • You will see a menu like this.

Add new items to a menu tab stack