Bootstrap Modal - screen dims, can't click

More
2 months 2 weeks ago #218707 by elcaba
Hi all,

I need to recreate a cookie pop-up which doesn't really track cookies, but only the click on a button. I tried this first with an example from Bootstrap Modal. However, when the pop-up opens, I can't click on the buttons because the screen is darkened. I also don't know if this is really a design issue as it is not with the online example.

What could this be due to or how can I change this? I only have a sample code so far and haven't changed anything myself.

Code:
<!-- Button trigger modal --><button class="btn btn-primary" data-target="#exampleModal" data-toggle="modal" type="button">Launch demo modal</button><!-- Modal -->
<div aria-hidden="true" aria-labelledby="exampleModalLabel" class="modal fade" id="exampleModal" role="dialog" tabindex="-1">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
<button aria-label="Close" class="close" data-dismiss="modal" type="button"><span aria-hidden="true">×</span></button></div>

<div class="modal-body">...</div>

<div class="modal-footer"><button class="btn btn-secondary" data-dismiss="modal" type="button">Close</button><button class="btn btn-primary" type="button">Save changes</button></div>
</div>
</div>
</div>

LimeSurvey Version: 3.17.5

Thank you! 



 
Attachments:

Please Log in to join the conversation.

More
2 months 1 week ago #218732 by tpartner
Can you attach a small sample survey (.lss file) containing only the relevant question and the JavaScript?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now