Menus

    List all menus

    Get all the menus of a site.

    Request

    • Method: GET
    • Version: v3, this API call supports additional sort and filter mechanisms as well as retrieving only a sub-set of fields

      Note: In order to access the v3 API endpoints please make sure you have enabled the new rendering engine.

    • Server: https://[app key here]-[site_ID here]-apps.worldsecuresystems.com. Take a look at the Authorize your API calls document for more info on how this URL is formed.
      • Note: When building apps always use relative request URLs. Do not use the "full" URL above because you might have problems running your app on a different site as the site_ID parameter will be different.
    • Path: /webresources/api/v3/sites/current/menus
      • Alternatively, use siteID instead of 'current'
    • Authorization header: This should contain the authorization token. Here is how to obtain the token.

    Response body

    An array of the first 10 items; each object has the following properties:

    • id - menu ID (integer)
    • siteId - site ID (integer)
    • name - menu's name (string)
    • menuTypeId - menu type (integer)
    • createDate - menu's creation date (dateTime)
    • lastUpdateDate - menu's last update date (dateTime)
    • output - html output (string)
    • menuLook (object)
    • menuItemLook (object)

    You can output additional fields to those listed above as default, see the API v3 Discovery APP for additional details.

    Accepts and returns JSON as Content-Type.


    Sample request

    var access_token = BCAPI.Helper.Site.getAccessToken();
    
    var request = $.ajax({
        url: "/webresources/api/v3/sites/current/menus",
        type: "GET",
        connection: "keep-alive",    
        contentType: "application/json",
        headers: {
            "Authorization": $.cookie('access_token')
        }
    });
    request.done(function (msg) {
        console.log(msg);
    });
    request.fail(function (jqXHR) {
        console.log("Request failed.");
        console.log("Error code: " + jqXHR.status);
        console.log("Error text: " + jqXHR.statusText);
        console.log("Response text: " + jqXHR.responseText);
    });

    Sample response

    {
      "items": [
        {
          "id": 555049,
          "siteId": 38581,
          "name": "Menu 1",
          "menuTypeId": 2,
          "createDate": "2016-05-04T15:25:11.44",
          "lastUpdateDate": "2016-05-04T15:26:06.71",
          "output": "<!-- Dynamic Menu Begin CSS Output
    --><style<#nav_555049, #nav_555049 .... >!-- Dynamic Menu End CSS Output -->",
          "menuLook": {
            "rootMenu": {
              "menuDirectionId": 0,
              "displaySubMenuArrow": true,
              "subMenuPositionId": 0,
              "xPosition": 0.75,
              "yPosition": 0.75,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0
            },
            "subMenu": {
              "menuDirectionId": 0,
              "displaySubMenuArrow": true,
              "subMenuPositionId": 0,
              "xPosition": 0.75,
              "yPosition": 0.75,
              "borderColor": "black",
              "borderStyleId": 3,
              "borderWidth": 1
            }
          },
          "menuItemLook": {
            "RootMenuLookOnMouseOut": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "gray",
              "textHorizontalAlignId": 0,
              "textVerticalAlignId": 0,
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0,
              "paddingTop": 0,
              "paddingBottom": 0,
              "paddingLeft": 0,
              "paddingRight": 0
            },
            "rootMenuOnMouseOver": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "blue",
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0
            },
            "subMenuLookOnMouseOut": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "gray",
              "textHorizontalAlignId": 0,
              "textVerticalAlignId": 0,
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0,
              "paddingTop": 0,
              "paddingBottom": 0,
              "paddingLeft": 0,
              "paddingRight": 0
            },
            "subMenuOnMouseOver": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "blue",
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0
            }
          }
        },
        {
          "id": 555050,
          "siteId": 38581,
          "name": "Menu 2",
          "menuTypeId": 1,
          "createDate": "2016-05-04T15:26:20.24",
          "lastUpdateDate": "2016-05-04T15:26:20.373",
          "output": " ... ",
          "menuLook": {
            "rootMenu": {
              "menuDirectionId": 0,
              "displaySubMenuArrow": true,
              "subMenuPositionId": 0,
              "xPosition": 0.75,
              "yPosition": 0.75,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0
            },
            "subMenu": {
              "menuDirectionId": 0,
              "displaySubMenuArrow": true,
              "subMenuPositionId": 0,
              "xPosition": 0.75,
              "yPosition": 0.75,
              "borderColor": "black",
              "borderStyleId": 3,
              "borderWidth": 1
            }
          },
          "menuItemLook": {
            "RootMenuLookOnMouseOut": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "gray",
              "textHorizontalAlignId": 0,
              "textVerticalAlignId": 0,
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0,
              "paddingTop": 0,
              "paddingBottom": 0,
              "paddingLeft": 0,
              "paddingRight": 0
            },
            "rootMenuOnMouseOver": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "blue",
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0
            },
            "subMenuLookOnMouseOut": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "gray",
              "textHorizontalAlignId": 0,
              "textVerticalAlignId": 0,
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0,
              "paddingTop": 0,
              "paddingBottom": 0,
              "paddingLeft": 0,
              "paddingRight": 0
            },
            "subMenuOnMouseOver": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "blue",
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0
            }
          }
        }
      ],
      "totalItemsCount": 2,
      "skip": 0,
      "limit": 10
    }

    Get a menu's details

    Get a menu and it's details.

    Request

    • Method: GET
    • Version: v3, this API call supports additional sort and filter mechanisms as well as retrieving only a sub-set of fields

      Note: In order to access the v3 API endpoints please make sure you have enabled the new rendering engine.

    • Server: https://[app key here]-[site_ID here]-apps.worldsecuresystems.com. Take a look at the Authorize your API calls document for more info on how this URL is formed.
      • Note: When building apps always use relative request URLs. Do not use the "full" URL above because you might have problems running your app on a different site as the site_ID parameter will be different.
    • Path: /webresources/api/v3/sites/current/menus/[menu_ID]
      • Alternatively, use siteID instead of 'current'
    • Authorization header: This should contain the authorization token. Here is how to obtain the token.

    Response

    Displays the details for the menu as a JSON object

    • id - menu ID (integer)
    • siteId - site ID (integer)
    • name - menu's name (string)
    • menuTypeId - menu type (integer)
    • createDate - menu's creation date (dateTime)
    • lastUpdateDate - menu's last update date (dateTime)
    • output - html output (string)
    • menuLook (object)
    • menuItemLook (object)

    Accepts and returns JSON as Content-Type.


    Sample request

    var access_token = BCAPI.Helper.Site.getAccessToken();
    
    var request = $.ajax({
        url: "/webresources/api/v3/sites/current/menus/555049",
        type: "GET",
        connection: "keep-alive",    
        contentType: "application/json",
        headers: {
            "Authorization": $.cookie('access_token')
        }
    });
    request.done(function (msg) {
        console.log(msg);
    })
    request.fail(function (jqXHR) {
        console.log("Request failed.");
        console.log("Error code: " + jqXHR.status);
        console.log("Error text: " + jqXHR.statusText);
        console.log("Response text: " + jqXHR.responseText);
    })

    Sample response

    {
          "id": 555049,
          "siteId": 38581,
          "name": "Menu 1",
          "menuTypeId": 2,
          "createDate": "2016-05-04T15:25:11.44",
          "lastUpdateDate": "2016-05-04T15:26:06.71",
          "output": "<!-- Dynamic Menu Begin CSS Output
    --><style>#nav_555049, #nav_555049 .... <!-- Dynamic Menu End CSS Output -->",
          "menuLook": {
            "rootMenu": {
              "menuDirectionId": 0,
              "displaySubMenuArrow": true,
              "subMenuPositionId": 0,
              "xPosition": 0.75,
              "yPosition": 0.75,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0
            },
            "subMenu": {
              "menuDirectionId": 0,
              "displaySubMenuArrow": true,
              "subMenuPositionId": 0,
              "xPosition": 0.75,
              "yPosition": 0.75,
              "borderColor": "black",
              "borderStyleId": 3,
              "borderWidth": 1
            }
          },
          "menuItemLook": {
            "RootMenuLookOnMouseOut": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "gray",
              "textHorizontalAlignId": 0,
              "textVerticalAlignId": 0,
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0,
              "paddingTop": 0,
              "paddingBottom": 0,
              "paddingLeft": 0,
              "paddingRight": 0
            },
            "rootMenuOnMouseOver": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "blue",
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0
            },
            "subMenuLookOnMouseOut": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "gray",
              "textHorizontalAlignId": 0,
              "textVerticalAlignId": 0,
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0,
              "paddingTop": 0,
              "paddingBottom": 0,
              "paddingLeft": 0,
              "paddingRight": 0
            },
            "subMenuOnMouseOver": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "blue",
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0
            }
          }
        }

    Create a menu

    Request

    • Method: POST
    • Version: v3, this API call supports additional sort and filter mechanisms as well as retrieving only a sub-set of fields

      Note: In order to access the v3 API endpoints please make sure you have enabled the new rendering engine.

    • Server: https://[app key here]-[site_ID here]-apps.worldsecuresystems.com. Take a look at the Authorize your API calls document for more info on how this URL is formed.
      • Note: When building apps always use relative request URLs. Do not use the "full" URL above because you might have problems running your app on a different site as the site_ID parameter will be different.
    • Path: /webresources/api/v3/sites/current/menus
      • Alternatively, use siteID instead of 'current'
    • Authorization header: This should contain the authorization token. Here is how to obtain the token.

    Parameters

    • name - menu's name (string)
    • menuTypeId - menu type (integer)
    • createDate - menu's creation date (dateTime)
    • lastUpdateDate - menu's last update date (dateTime)
    • output - html output (string)
    • menuLook (object)
    • menuItemLook (object)

    Response:

    HTTP/1.1 201 CREATED
    Location: /webresources/api/v3/sites/current/menus
    Content-Type: application/json; charset=utf-8
    Content-Length: length

    Sample request

    var access_token = BCAPI.Helper.Site.getAccessToken();
    var request = $.ajax({
        url: "/webresources/api/v3/sites/current/menus",
        type: "POST",
        connection: "keep-alive",    
        contentType: "application/json",
        headers: {
            "Authorization": $.cookie('access_token')
        },
        processData: false,
        data: JSON.stringify({
          "name": "Menu 3",
          "menuTypeId": 1,
          "menuLook": {
            "rootMenu": {
              "menuDirectionId": 0,
              "displaySubMenuArrow": true,
              "subMenuPositionId": 1,
              "xPosition": 1,
              "yPosition": 0,
              "borderColor": "yello",
              "borderStyleId": 1,
              "borderWidth": 1
            },
            "subMenu": {
              "menuDirectionId": 1,
              "displaySubMenuArrow": true,
              "subMenuPositionId": 0,
              "xPosition": 0.75,
              "yPosition": 0.75,
              "borderColor": "white",
              "borderStyleId": 8,
              "borderWidth": 1
            }
          },
          "menuItemLook": {
            "RootMenuLookOnMouseOut": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "gray",
              "textHorizontalAlignId": 0,
              "textVerticalAlignId": 0,
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0,
              "paddingTop": 0,
              "paddingBottom": 0,
              "paddingLeft": 0,
              "paddingRight": 0
            },
            "rootMenuOnMouseOver": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "blue",
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0
            },
            "subMenuLookOnMouseOut": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "gray",
              "textHorizontalAlignId": 0,
              "textVerticalAlignId": 0,
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0,
              "paddingTop": 0,
              "paddingBottom": 0,
              "paddingLeft": 0,
              "paddingRight": 0
            },
            "subMenuOnMouseOver": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "blue",
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0
            }
          }
        })
    });
    request.done(function (msg) {
        console.log(msg);
    })
    request.fail(function (jqXHR) {
        console.log("Request failed.");
        console.log("Error code: " + jqXHR.status);
        console.log("Error text: " + jqXHR.statusText);
        console.log("Response text: " + jqXHR.responseText);
    })

    Response

    Returns an empty body if successful or a detailed error message.

    Accepts and returns JSON as Content-Type.


    Edit a menu

    Request

    • Method: PUT
    • Version: v3, this API call supports additional sort and filter mechanisms as well as retrieving only a sub-set of fields

      Note: In order to access the v3 API endpoints please make sure you have enabled the new rendering engine.

    • Server: https://[app key here]-[site_ID here]-apps.worldsecuresystems.com. Take a look at the Authorize your API calls document for more info on how this URL is formed.
      • Note: When building apps always use relative request URLs. Do not use the "full" URL above because you might have problems running your app on a different site as the site_ID parameter will be different.
    • Path: /webresources/api/v3/sites/current/menus/[menu_ID]
      • Alternatively, use siteID instead of 'current'
    • Authorization header: This should contain the authorization token. Here is how to obtain the token.

    Parameters

    • name - menu's name (string)
    • menuTypeId - menu type (integer)
    • createDate - menu's creation date (dateTime)
    • lastUpdateDate - menu's last update date (dateTime)
    • output - html output (string)
    • menuLook (object)
    • menuItemLook (object)

    Response

    Returns an empty body if successful or a detailed error message.

    Accepts and returns JSON as Content-Type.


    Sample request

    var access_token = BCAPI.Helper.Site.getAccessToken();
    var request = $.ajax({
        url: "/webresources/api/v3/sites/current/menus/81906",
        type: "PUT",
        connection: "keep-alive",    
        contentType: "application/json",
        headers: {
            "Authorization": $.cookie('access_token')
        },
        processData: false,
        data: JSON.stringify({
          "name": "Menu 3",
          "menuTypeId": 1,
          "menuLook": {
            "rootMenu": {
              "menuDirectionId": 0,
              "displaySubMenuArrow": true,
              "subMenuPositionId": 1,
              "xPosition": 1,
              "yPosition": 0,
              "borderColor": "yello",
              "borderStyleId": 1,
              "borderWidth": 1
            },
            "subMenu": {
              "menuDirectionId": 1,
              "displaySubMenuArrow": true,
              "subMenuPositionId": 0,
              "xPosition": 0.75,
              "yPosition": 0.75,
              "borderColor": "white",
              "borderStyleId": 8,
              "borderWidth": 1
            }
          },
          "menuItemLook": {
            "RootMenuLookOnMouseOut": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "gray",
              "textHorizontalAlignId": 0,
              "textVerticalAlignId": 0,
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0,
              "paddingTop": 0,
              "paddingBottom": 0,
              "paddingLeft": 0,
              "paddingRight": 0
            },
            "rootMenuOnMouseOver": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "blue",
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0
            },
            "subMenuLookOnMouseOut": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "gray",
              "textHorizontalAlignId": 0,
              "textVerticalAlignId": 0,
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0,
              "paddingTop": 0,
              "paddingBottom": 0,
              "paddingLeft": 0,
              "paddingRight": 0
            },
            "subMenuOnMouseOver": {
              "font": "Verdana, Arial",
              "fontSize ": 10,
              "fontColor ": "black",
              "backgroundColor ": "blue",
              "textStyleUnderline": false,
              "textStyleBold": false,
              "textStyleItalics": false,
              "borderColor": "black",
              "borderStyleId": 0,
              "borderWidth": 0
            }
          }
        })
    });
    request.done(function (msg) {
        console.log(msg);
    })
    request.fail(function (jqXHR) {
        console.log("Request failed.");
        console.log("Error code: " + jqXHR.status);
        console.log("Error text: " + jqXHR.statusText);
        console.log("Response text: " + jqXHR.responseText);
    })

    Delete a menu

    Request

    • Method: DELETE
    • Version: v3, this API call supports additional sort and filter mechanisms as well as retrieving only a sub-set of fields

      Note: In order to access the v3 API endpoints please make sure you have enabled the new rendering engine.

    • Server: https://[app key here]-[site_ID here]-apps.worldsecuresystems.com. Take a look at the Authorize your API calls document for more info on how this URL is formed.
      • Note: When building apps always use relative request URLs. Do not use the "full" URL above because you might have problems running your app on a different site as the site_ID parameter will be different.
    • Path: /webresources/api/v3/sites/current/menus/[menu_ID]
      • Alternatively, use siteID instead of 'current'
    • Authorization header: This should contain the authorization token. Here is how to obtain the token.

    Request:

    DELETE /webresources/api/v3/sites/current/menus/555052 HTTPS/1.1
    Authorization: 14f87f21c5ea4830a06a6314a8aad82b45bc61dc08f24a0fb55599cea83ca811
    Connection: keep-alive
    Content-Type: application/json
    

    Response:

    
    HTTP/1.1 204 NO CONTENT
    Location: /webresources/api/v3/sites/current/menus/[menu_ID]
    Content-Type: application/json; charset=utf-8
    Content-Length: length

    Sample request

    var access_token = BCAPI.Helper.Site.getAccessToken();
    var request = $.ajax({
    	url: "/webresources/api/v3/sites/current/menus/555052",
        type: "DELETE",
        connection: "keep-alive",
        contentType: "application/json",
    	
        headers: {
        	"Authorization": $.cookie('access_token')
            }
        });
        request.done(function (msg) {
        	$('.output pre').html(JSON.stringify(msg, null, 2));
            console.log(msg);
        })
        request.fail(function(jqXHR) {
        	console.log("Request failed.");
            console.log("Error code: " + jqXHR.status);
            console.log("Error text: " + jqXHR.statusText);
            console.log("Response text: " + jqXHR.responseText);
        })

    Response

    Returns an empty body if successful or a detailed error message.

    Attribute fields

    Visible fields are as follows:

    Menu look object:

    Property name Property type
    rootMenu object
    subMenu object

    Menu item look object:

    RootMenuLookOnMouseOut object
    rootMenuOnMouseOver object
    subMenuLookOnMouseOut object
    subMenuOnMouseOver object

    Root menu object:

    menuDirectionId menuDirectionId (number)  
    displaySubMenuArrow boolean  
    subMenuPositionId subMenuPositionId (number) ignored for menuTypeId IN (2, 3)
    xPosition float ignored for menuTypeId IN (2, 3)
    yPosition float ignored for menuTypeId IN (2, 3)
    borderColor string ignored for menuTypeId IN (2, 3)
    borderStyleId borderStyleId (number) ignored for menuTypeId IN (2, 3)
    borderWidth float ignored for menuTypeId IN (2, 3)

    Sub menu object:

    menuDirectionId

    menuDirectionId (number)

     
    displaySubMenuArrow boolean  
    subMenuPositionId subMenuPositionId (number) ignored for menuTypeId IN (2, 3)
    xPosition float ignored for menuTypeId IN (2, 3) OR subMenuPositionId IN (0, 1)
    yPosition float ignored for menuTypeId IN (2, 3) OR subMenuPositionId IN (0, 1)
    borderColor string  
    borderStyleId borderStyleId (number)  
    borderWidth float  

    RootMenuLookOnMouseOut and subMenuLookOnMouseOut objects:

    font string  
    fontSize float  
    fontColor string  
    backgroundColor string  
    textHorizontalAlignId MenutextHorizontalAlignId (number)  
    textVerticalAlign MenuTextVerticalAlignId (number) ignored for menuTypeId IN (2, 3)
    textStyleUnderline boolean  
    textStyleBold boolean  
    textStyleItalics boolean  
    borderColor string  
    borderStyleId borderStyleId (number)  
    borderWidth float  
    paddingTop float  
    paddingBottom float  
    paddingLeft float  
    paddingRight float  

    RootMenuOnMouseOver and subMenuOnMouseOver objects:

    font string
    fontSize float
    fontColor string
    backgroundColor string
    textStyleUnderline boolean
    textStyleBold boolean
    textStyleItalics boolean
    borderColor string
    borderStyleId borderStyleId (number)
    borderWidth float

     

    menuDirectionId (number)

    Description
    Value
    Vertical 0 (default)
    Horizontal 1

    MenutextHorizontalAlignId (number)

    Description
    Value
    Left 0 (default)
    Center 1
    Right 2

    MenuTextVerticalAlignId (number)

    Description
    Value
    Top 0 (default)
    Middle 1
    Bottom 2
    Baseline 3

    borderStyleId (number)

    Description
    Value
    None 0 (default)
    Dotted 1
    Dashed 2
    Solid 3
    Double 4
    Groove 5
    Ridge 6
    Inset 7
    Outset 8

    subMenuPositionId (number)

    Description
    Value
    Under Parent 0 (default)
    Next to Parent 1
    Relative to Parent 2
    Relative to Left Parent 3
    Relative to Page 4

    MenuTypeID (number)

    Description
    Value
    Default 1 (default)
    CSS 2
    CSS (HTML only) 3