Reputation: 13
I want to display 2 modal windows containing HTML content with jQuery. But second modal window must be within the first.
So, here is main page, when I click link it opens first modal window, and then when I click a link in this modal window in opens second modal window.
I tried to do this with qTip, but I can't make second modal window. I will be appreciate if somebody tells me how can I realize this. Thanks.
Upvotes: 1
Views: 1984
Reputation: 201
qTip allows to open modal in modal. Something is going wrong with your code. Post it here and i can give you a solution!
Upvotes: 0
Reputation: 14856
I'd recommend the jQuery UI Modal Dialog, it should allow having two dialogs open at the same time.
Upvotes: 1
Reputation: 26183
To me this sounds like an ui failure - modals within modals are not healthy for a user interface, and thus modal frameworks rarely support it.
If i was you I'd find another design rather than solve this problem programatically
Upvotes: 1