forked from shucon/Room-Booking-Portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcarousel.php
87 lines (80 loc) · 2.61 KB
/
carousel.php
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style>.carousel-indicators{
margin-left: -2%;
}
.container{
width:900px;
}
.carousel-control{
background-image:none !important;
}
.glyphicon-chevron-right:before{
background-color: black;
background-blend-mode: black;
}
.glyphicon-chevron-left:before{
background-color: black;
background-blend-mode: black;
}
.carousel-indicators li{
background-color:black;
}
.carousel-indicators .active{
background-color:red;
}
</style>
<div class="container">
<br>
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
<li data-target="#myCarousel" data-slide-to="3"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="./images/IIIT-LOGO1.jpg" width="900px" height="480px" >
<div class="carousel-caption">
<h3></h3>
<p></p>
</div>
</div>
<div class="item">
<img src="./images/sh1a.jpeg" width="900px" height="480px" >
<div class="carousel-caption">
<h3></h3>
<p></p>
</div>
</div>
<div class="item">
<img src="./images/cr1a.jpeg" width="900px" height="480px" >
<div class="carousel-caption">
<h3></h3>
<p></p>
</div>
</div>
<div class="item">
<img src="./images/sarangaa.jpeg" width="900px" height="480px" >
<div class="carousel-caption">
<h3></h3>
<p></p>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>