"window pop up"
Bootstrap 3.3.0 Snippet by niranjankmr707

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="showmodal">
<div id="myModal" class="modal fade in" role="dialog" style="display: block; padding-right: 17px;">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h2 class="modal-title">Looking for Cheap flights deals!!</h2>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-9 col-xs-9">
<p>Call us and Speak to our excellent Travel Agents now</p>
<h5>Toll Free(24/7)</h5>
<h4>+1-844-420-9533</h4>
</div>
<div class="col-md-3 col-xs-3">
<div class="right-img">
<img src="http://bestjquery.com/tutorial/product-grid/demo9/images/img-3.jpg" alt="call" style="width:130px">
</div>
</div>
</div>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div></div>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
.modal-dialog{width:500px;}
.showmodal .modal-header{border-bottom: transparent;padding-bottom: 0px;}
.showmodal .modal-content{border: 10px solid #0073e6;border-left: 10px solid #f9e710;
border-right: 10px solid #f9e710;}
.showmodal .modal-content h2{font-size:26px;font-weight: 900;color: #00355d;line-height: 33px;margin: 15px 0 15px 0;margin-bottom: 0px;margin-top:12px;}
.showmodal .modal-content .right-img{float: right;margin-top: 20px; margin-bottom: 0px;}
.showmodal .modal-content .modal-body h4{font-size: 30px;padding-top: 5px;display: block;font-weight: 900;color: #00355d;text-align: center;text-decoration: none;}
.showmodal .modal-content .modal-body h5{font-size: 28px;padding-top: 20px;display: block;font-weight: 900;color: #0073e6;text-align: center;text-decoration: none;padding-top: 50px;}
.showmodal .modal-content .modal-body p{color:#000;font-size:17px;}
.showmodal .modal-content .modal-footer{border-top: transparent;padding: 0px;}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
$(window).on('load', function () {
setTimeout(function () {
$('#myModal').modal();
}, 1000);
//$('#myModal').modal('show');
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: