Magnific Popup is not in v9. Is it replaced with anything? How do I make a lightbox popup in v9?
I managed to use Bootstrap Modal instead:
<div id="spinner_<?php echo $bID; ?>" class="ab-ajax-file-upload-spinner modal">
<div class="modal-dialog modal-dialog-centered">
<div class="alert alert-danger">
<h4><?php echo t('File upload in progress'); ?></h4>
</div>
</div>
</div>
$(document).ready(function() {
var spinner = $('#spinner_' + bid);
var myModal = new bootstrap.Modal(spinner, {
keyboard: false,
});
myModal.show();
});
My magnific popups are all working fine in v9
I had hundreds of messages in the log saying the lightbox asset was missing. So I assumed it was removed and used the Bootstrap Model instead.