<div class="modal fade" id="YouModal" data-backdrop="static" tabindex="-1" role="dialog" aria-labelledby="YouModalLabel" aria-hidden="true">
$('#YouModal').modal({
backdrop: 'static',
keyboard: true
})
$('#YouModal').on('hide.bs.modal', function (e) {
e.preventDefault();
e.stopPropagation();
return false;
});
<script type="text/javascript">
$('.js-open').on( "click", function() {
$('#Modal1').modal('show');
$('#Modal2').modal('show');
});</script>
$(document).ready(function () {
$('.nav-tabs a:first').tab('show');
$('.nav-tabs a:first').addClass('active');
});
$(document).ready(function() {
// Читаем url страницы
var hash = document.location.hash;
var prefix = "tab_";
if (hash) {
$('.nav-tabs a[href='+hash.replace(prefix,"")+']').tab('show');
}
// Делаем таб активным
$('.nav-tabs a').on('shown.bs.tab', function (e) {
window.location.hash = e.target.hash.replace("#", "#" + prefix);
});
});
.panel-footer {
padding: 10px;
border-top: 1px solid #DBE0E4;
background: #F5F5F5;
box-shadow: none;
height: 55px;
overflow: hidden;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
<div class="modal fade" id="modalUserName" tabindex="-1" role="dialog"
aria-labelledby="exampleModalLabel" aria-hidden="true" data-backdrop="static" data-keyboard="false">
<script type="text/javascript">
$(window).on('load',function(){
$('#myModal').modal('show');
});
</script>
<div class="col-12">
{{ skill.name }}
</div>
</body>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/fontawesome.css">
<link rel="stylesheet" href="css/main.css">
.col-xs-5bl,
.col-sm-5bl,
.col-md-5bl,
.col-lg-5bl {
position: relative;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
}
.col-xs-5bl {
width: 20%;
float: left;
}
@media (min-width: 768px) {
.col-sm-5bl {
width: 20%;
float: left;
}
}
@media (min-width: 992px) {
.col-md-5bl {
width: 20%;
float: left;
}
}
@media (min-width: 1200px) {
.col-lg-5bl {
width: 20%;
float: left;
}
}
<div class="col-xs-5bl"></div>
<div class="col-xs-5bl"></div>
<div class="col-xs-5bl"></div>
<div class="col-xs-5bl"></div>
<div class="col-xs-5bl"></div>
<div class="row">
<div class="col">
1
</div>
<div class="col">
2
</div>
<div class="col">
3
</div>
<div class="col">
4
</div>
<div class="col">
5
</div>
</div>