Page 1 of 1

Multiple modal cards under 1 substack

Posted: Fri Sep 26, 2014 11:12 pm
by dandun
I have been reading about modals and looking at example scripts. All of the examples show using only 1 modal per substack and showing the stack vs a specific card within the stack.

on mouseUp
set the loc of stack "modals" to the loc of this stack
modal stack "modals"
show stack "modals"
end mouseUp

Is there an issue if I were to have only 1 substack named "modals" with multiple modals cards for my entire application, or is it suggested, 1 per substack?

Thanks
Dan

Re: Multiple modal cards under 1 substack

Posted: Sat Sep 27, 2014 4:54 pm
by jacque
You can have more than one card in a modal stack. You may need to adjust the scripts to avoid seeing the card change when the modal opens.