-
Notifications
You must be signed in to change notification settings - Fork 0
/
imageSlider.php
executable file
·141 lines (102 loc) · 4.69 KB
/
imageSlider.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!-- <div style="text-align: center; ">
<a class="" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="fa fa-arrow-left" style="font-size: 20px; color: white; "></span>
</a>
<a class="" href="#carousel-example-generic" role="button" data-slide="next">
<span class="fa fa-arrow-right" style="font-size: 20px; color: white; "></span>
</a>
</div>
-->
<style>
</style>
<div id="carousel-example-generic" class="carousel slide " data-ride="carousel" style="max-width:1000px">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
<li data-target="#carousel-example-generic" data-slide-to="3"></li>
<li data-target="#carousel-example-generic" data-slide-to="4"></li>
<li data-target="#carousel-example-generic" data-slide-to="5"></li>
<li data-target="#carousel-example-generic" data-slide-to="6"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active"> <img src="gallery1/66.JPG"> <div class="carousel-caption"> <h3> 2.2 Marathon </h3> </div></div>
<div class="item"> <img src="gallery1/13.JPG"> <div class="carousel-caption"> <h3> Campus Tour </h3> </div></div>
<div class="item"> <img src="gallery1/19.JPG"> <div class="carousel-caption"> <h3> Musical Night </h3> </div></div>
<div class="item"> <img src="gallery1/45.JPG"> <div class="carousel-caption"> <h3> Gala Dinner </h3> </div></div>
<div class="item"> <img src="gallery1/35.JPG"> <div class="carousel-caption"> <h3> Inauguration </h3> </div></div>
<div class="item"> <img src="gallery1/21.JPG"> <div class="carousel-caption"> <h3> Entertainia </h3> </div></div>
<div class="item"> <img src="gallery1/43.JPG"> <div class="carousel-caption"> <h3> Illuminiation </h3> </div></div>
</div>
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="fa fa-arrow-left" style="font-size: 40px; color: white; margin-top: 150px;"></span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="fa fa-arrow-right" style="font-size: 40px; color: white; margin-top: 150px; "></span>
</a>
</div>
<!--
<style>
.banner {
background-color: white;
opacity: 0.7;
border-radius: 10px;
/*padding-right: 10px;
padding-left: 10px;*/
border-style: solid;
}
.banner { position: relative; overflow: auto; }
.banner li { list-style: none; }
.banner ul li { float: right; }
.fixSize{
height: 400px;
width: 600px;
}
</style>
<script src="http://unslider.com/unslider.min.js"></script>
<div class="banner" style="color: white;">
<ul>
<li><img class="fixSize" src="data1/images/1.jpg"/></li>
<li><img class="fixSize" src="data1/images/2.jpg"/></li>
<li><img class="fixSize" src="data1/images/3.jpg"/></li>
<li><img class="fixSize" src="data1/images/4.jpg"/></li>
<li><img class="fixSize" src="data1/images/5.jpg"/></li>
<li><img class="fixSize" src="data1/images/6.jpg"/></li>
<li><img class="fixSize" src="data1/images/7.jpg"></li>
</ul>
</div>
<a href="#" class="unslider-arrow prev">Previous slide</a>
<a href="#" class="unslider-arrow next">Next slide</a>
<script>
var unslider = $('.banner').unslider();
$('.unslider-arrow').click(function() {
var fn = this.className.split(' ')[1];
// Either do unslider.data('unslider').next() or .prev() depending on the className
unslider.data('unslider')[fn]();
});
</script>
<script>
$(function() {
$('.banner').unslider();
});
</script>
-->
<!--
<div id="wowslider-container1" style="border-radius: 4px;height:400px">
<div class="ws_images">
<ul>
<li><img src="data1/images/1.jpg" alt="527018-1920x1200" title="Kite Flying" id="wows1_0"/></li>
<li><img src="data1/images/2.jpg" alt="543999-1920x1200" title="Campus Tour" id="wows1_1"/></li>
<li><img src="data1/images/3.jpg" alt="557009-1920x1200" title="Musical Night" id="wows1_2"/></li>
<li><img src="data1/images/4.jpg" alt="557697-1920x1200" title="Gala Dinner" id="wows1_3"/></li>
<li><img src="data1/images/5.jpg" alt="565260-1920x1200" title="Inaugration" id="wows1_4"/></li>
<li><img src="data1/images/6.jpg" alt="569736-1920x1200" title="Entertainia" id="wows1_5"/></li>
<li><img src="data1/images/7.jpg" alt="584088-1920x1200" title="Illumniation" id="wows1_6"/></li>
</ul>
</div>
</div>
<script type="text/javascript" src="engine1/wowslider.js"></script>
<script type="text/javascript" src="engine1/script.js"></script>
-->