Hello,
I have a tree menu and am using the onLoad event to dynamicaly create the menu. The problem I have is making a menu item to exit. See the following code.
sc_appmenu_add_item('treemenu_home','item_1','','{lang_menu_exit}','index','','delete2_32.png','','exit');
The code kinda works but it won’t leave the app and shows the redirected app in the main window of the menu. I’ve tried all the targets and _parent, which is supposed to replace the window, just shows it in the iframe. I tried using exit as a target, seen in another post, but it still shows the redirected app in the main window of the menu.
I want it to completely exit and go to the index page you see there in my parameters. I tried using the regular menu function of tree menu and created an exit item with exit as target and app link to index yet it doesn’t appear, probably because of the menu reset macro in the onLoad event. I tried _parent, parent, index_parent, exit, leave, index_exit, index_leave, etc… and it’s not doing what it is supposed to.