Displaying multiple pop-ups based on scenarios


I have a link on click of which I need to show certain pop-ups based on conditions i.e. need to open 1 pop-up at one instance and other pop-up at other instance but only 1 pop-up should be displayed at one point. This is required in case wherein we need to demo a feature and based on conditions show the pop-ups one at a time.

A good way to do this is with a dynamic panel (dp). Create one state for each of your pop-up conditions and place the appropriate pop-up content in each state. To show a certain pop-up just set the dp to that state and select “Show if hidden” option (and “Bring to front” helps as well) in the Show action. This way, only one pop-up can be shown at a time.