Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
0 answers
51 views

Can I close a bootstrap modal (v3) and link to a different site, without using JS?

I've created a modal (Bootstrap v3) on a site that doesn't allow for any Javascript, just HTML and CSS (Bootstrap v3). I'd like to have a button at the bottom that users can click to close the modal, ...
user17282412's user avatar
0 votes
2 answers
867 views

How to constrain content to modal dialog width?

I have a long string of text in a modal dialog box, but the text does not wrap or stay inside the dialog. How can I fix this? Below is an image and my template for the dialog. <div class="...
user avatar
1 vote
1 answer
857 views

Bootstrap modal non blocking body

I'm building a Floating button at the bottom right of my web page. When I click on the button I'm opening a modal and I show some pieces of information in it (next to the floating button like a chat-...
John's user avatar
  • 4,861
3 votes
1 answer
221 views

How make this modal responsive ? (IF i use tablet or other smartphone)

If I open it through a pc browser it will be responsive but when I change it to a tablet or smartphone view it does not become responsive, instead it becomes zoom (should zoom in if view). how to ...
Anggi alansori's user avatar
0 votes
1 answer
506 views

Display text outside Bootstrap modal

I want to display some text (copyright) in the right corner (outside the modal) when a Bootstrap modal is opened. How to do that? (Sorry for my English, greethings from Germany ;-)
Pascal Gödeke's user avatar
4 votes
2 answers
17k views

Close button on modal not working...what am i doing wrong?

I've made a modal that makes an image pop up when it's clicked but I can't get the close button to work for some reason. Can someone check my code and see where I went wrong? Or give me some ...
Breevie's user avatar
  • 95
0 votes
1 answer
73 views

Dynamic bootstrap modals in Rails application not working

I'm creating a simple app and I'm trying to add dynamically generated modals like this: <% @friends.each do |friend| %> <div class = "row user"> <div class = "col-sm-4" >...
Rabbit's user avatar
  • 37
2 votes
2 answers
3k views

Issues with image inside Bootstrap modal

http://codepen.io/anon/pen/jWGXKJ <a data-toggle="modal" href="#modal" class="btn btn-primary">Open</a> <div id="modal" class="modal modal-wide fade"> <div class="modal-dialog"&...
Gary In's user avatar
  • 717
0 votes
0 answers
654 views

Bootstrap Modal window is closing when clicked on submit button

I have a Grid inside Modal window. Whenever I click on Bootstrap 3 Modal window its getting closed. I want that Modal to stay open as I am trying to display loading. I tried by setting .dialog('show') ...
Joy1979's user avatar
  • 609
0 votes
3 answers
3k views

How to hide content when a radio button is not checked and enable other content to be viewed

Basically i want to set up two radio buttons, one called 'Login' and the other called 'Register' When the 'Login' radio button is checked i want the login section to be shown only and vise versa for ...
Oliver Ketley's user avatar
-1 votes
1 answer
789 views

Modal only displays first image

I have got an issue where my modal only displays the first image. What I am trying to do is that i want to display a dynamic gallery. Every "post" can have 0-* images and based on how many images ...
Jan's user avatar
  • 358
0 votes
1 answer
3k views

Bootstrap 3.3 shows double scrollbars on modals

I am working with Bootstrap 3.3.1 modals and it was working perfectly until yesterday. I'm using some modal windows on my page. One of those modals is more long than the page. In a normal time, ...
Morgan Touverey Quilling's user avatar
0 votes
1 answer
2k views

How to scroll a bootstrap modal with arrow keys up - down

I tried this: // this = modal $(this).focus(); I tried tha above one as well as tried to trigger a click event on it but didn't work! EDIT This is the website i'm working on : "website", you can ...
Rachid O's user avatar
  • 13.7k
7 votes
2 answers
17k views

Bootstrap modal data dismiss not working

So, the the data-dismiss="modal" is not working for buttons that are added in my HTML, but is working for buttons that are added to the modal via JS inserting the button HTML. This makes me figure ...
ScubaSteve's user avatar
  • 8,134
0 votes
3 answers
935 views

Bootstrap 3.2 jQuery in modals

I want to use some jQuery in my Modals. For like form validation, but the problem is more general. I load the content of the modals from another html-file. In Bootstrap 3.1.x it worked with just ...
muthan's user avatar
  • 2,452

15 30 50 per page