lThe
applets have some public function that allow you to modify
the menu "on fly" without the page reloading and refreshing
lThe following public
function are available
–setPressedItem(itemNumber)
lAvailable for apPopupMenu, apButtonMenu, and apTabMenu
lSets
a new highlighted/pressed item
lExample:
setPressedItem(3)
–changeItem(itemIndex,newText,newLink,newTarget)
lChanges
an menu item’s text, link, and/or target
lExample
changeItem('3_1_9','Home','http://www.apycom.com','_self')
–Note: when
determining the itemNumber or itemIndex values, you must count any separators that may be in your menu structure.