Hi,
I have three stacks, one main stack (stack 1) and two substacks (stack 2 and stack 3).
Stack 1 contains a button to open stack 2 and stack 2 contains a button to open stack 3.
I want stacks 2 and 3 to be modal - thats means that the user can't acces stack 2 when stack 3 is open (and can't access stack 1 when stack 2 is open).
I already worked out to have stack 2 to float above stack 1 and stack 3 to float above stack 1 and stack 2, my question: how can I prevent stacks 1 and 2 to have the modal als long as stack 3 is open?
Thanks!
Luc.
Multiple stacks
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Multiple stacks
Only one modal stack is typically open at a time, since modals are used for things that block all other actions until the user responds. Error dialogs are the most common use for modals, used when the app can't logically continue until the error situation is cleared. It isn't really appropriate to use them for any other purpose.
In this situation, use a script to determine which stack to open. You can check the openStacks function to see which stacks are open and the script can refuse to open any other stack until the first one is closed.
In this situation, use a script to determine which stack to open. You can check the openStacks function to see which stacks are open and the script can refuse to open any other stack until the first one is closed.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com