adds a new child item
| parId | object | the item which will contain a new item in the sublevel |
| pos | number | the position of a new item |
| itemId | string|number | id of a new item |
| text | string | text of a new item |
| dis | boolean | true/false, whether the item is disabled or not |
| imgEn | string | image for the enabled item |
| imgDis | string | image for the disabled item |
myMenu.addNewChild(parentId, pos, itemId, text, dis, imgEn, imgDis);
Back to top