Open RamyTalal opened 9 years ago
No, only one opened modal can be on a page.
Is it an idea for the future?
That's...strange. Remodal does it deliberately to avoid stack of modals.
Okay. I thought it would be handy. I've attached an example.
This would be a good feature, but only one level deep. See Facebook, Pinterest etc.
Here's some initial work to support this #95
+1
+1 :)
There are stackable modals in jAlert http://flwebsites.biz/jAlert/
+1
As an alternative solution, I ended up just loading an element inside the current modal, sans the close button. It's a bit confusing when you click the close button and both close, but other than that it seems to work ok.
Is there any js fiddle or pen for multiple modals in same page? I want to open popup then in popup there will be a button which will open another popup. so after second popup close first popup should not close.
Can any one please a fiddle that provide solution open modal from inside modal and when i close second first modal must be opened.
var c1 = $('[data-remodal-id=first_block]').remodal({ 'appendTo': $('.form-setup'), 'stack':true,hashTracking: false });
var p1 = $('[data-remodal-id=video_popup]').remodal({ 'appendTo': $('.youtube-video'), 'stack':true, hashTracking: false });
On c1.open() first modal opens, then if do p1.open() then popup c1 closes automatically. I want p1 modal above c1 modal.
So when i close p1 modal c1 modal must be open.
Is it possible to stack multiple modals?