Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Thumbnail popup with TB modal"
Bootstrap 3.1.0 Snippet by
mrmccormack
3.1.0
modal
popup
Preview
HTML
View Full Screen
Fork
Fork this
13.2K
 
2 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- Sample by Mr. M. - Confederation College - IMD Program --> <div class="container"> <div class="row"> <h2>Mr. M.'s Thumbnail popup using Twitter Bootstrap Modal</h2> <p> <span class="label label-danger">TIP</span> <p> <a href="http://bootsnipp.com/iframe/6epP" target="_blank"><span class="glyphicon glyphicon-eye-open"></span> View in separate window</a> </p> <br> <hr> <!-- Thumbnail link --> <a href="#" data-toggle="modal" data-target=".bs-example-modal-lg"> <img src="http://i.imgur.com/YZ7AGyF.jpg" width="150" class="img-responsive img-rounded center-block" alt=""> </a> <hr> <small> Creative Commons image: <a href="http://tinyurl.com/flickrmixer">Desmond Talkington </a> <br> <a href="http://tinyurl.com/tbvalid3" target="_blank">HTML 5 Valid</a> </small> <hr> <!-- Modal content for the above example --> <div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title" id="myLargeModalLabel">Mixer Board</h4> </div> <div class="modal-body"> <img src="http://i.imgur.com/YZ7AGyF.jpg.jpg" class="img-responsive img-rounded center-block" alt=""> </div> </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> </div><!-- /.modal --> </div> <!-- /.row --> </div> <!-- /.container -->
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76