Closed faridjame closed 9 years ago
Hi, can you provide your code or a JsFiddle please ?
Sure, I will, but in the meantime, you can see it in action on my website towards the bottom, click on "Versa Cam"
I can't find it, sorry.
Use this bit of jquery to solve your issue:
$('#myModal').on('shown.bs.modal', function () {
$('#myCarousel').removeClass('hidden');
})
$('#myModal').on('hidden.bs.modal', function () {
$('#myCarousel').addClass('hidden');
})
Is it possible to have the carousel initially hidden and just display it within the modal after a button/link is clicked?
I tried setting the display to none for the carousel, but the modal fails to show it if the carousel is initially hidden.
Thanks