-
Notifications
You must be signed in to change notification settings - Fork 0
/
indexC2.html
104 lines (96 loc) · 4.37 KB
/
indexC2.html
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
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- CUSTOM STYLESHEET -->
<link rel="stylesheet" href="styleC1.css">
<link rel="stylesheet" href="styleC2.css">
<link rel="shortcut icon" type="image/png" sizes="32x32" href="KraczyCarouselLogo.png">
<link rel="shortcut icon" type="image/png" sizes="96x96" href="KraczyCarouselLogo.png">
<link rel="shortcut icon" type="image/png" sizes="16x16" href="KraczyCarouselLogo.png">
<title>KrazyCarousel | Carousel2 </title>
<script>
alert("Carousel slides automatically in time interval of 5 seconds");
</script>
<script>
alert("Pinch In to zoom Out");
</script>
</head>
<body class="bodyArea">
<a href="index.html" class="logo">Krazy<span class="logoSpan">Carousel</span></a>
<div class="parentNav">
<h1 class="heroHeading">Captions on Image<a class="backBtn" href="indexDashboard.html">Go Back</a></h1>
<br>
<!--image slider start-->
<div class="slider">
<div class="slides">
<!--radio buttons start-->
<input type="radio" name="radio-btn" id="radio1">
<input type="radio" name="radio-btn" id="radio2">
<input type="radio" name="radio-btn" id="radio3">
<input type="radio" name="radio-btn" id="radio4">
<!--radio buttons end-->
<!--slide images start-->
<div class="slide first">
<img src="pic1.jpg" alt="Picture 1">
<div class="captions">
<div class="captionHeading">Caption 1</div>
<div class="captionPara">The authors of this book have used their best efforts in preparing this book.</div>
</div>
</div>
<div class="slide">
<img src="pic2.jpg" alt="Picture 2">
<div class="captions">
<div class="captionHeading">Caption 2</div>
<div class="captionPara">The publisher of this book have used their best efforts in preparing this book.</div>
</div>
</div>
<div class="slide">
<img src="pic3.jpg" alt="Picture 3">
<div class="captions">
<div class="captionHeading">Caption 3</div>
<div class="captionPara">The authors and publisher of this book have used their best efforts in preparing this book.</div>
</div>
</div>
<div class="slide">
<img src="pic4.jpg" alt="Picture 4">
<div class="captions">
<div class="captionHeading">Caption 4</div>
<div class="captionPara">The authors,publisher and stake holders of this book have used their best efforts in preparing this book.</div>
</div>
</div>
<!--slide images end-->
<!--automatic navigation start-->
<div class="navigation-auto">
<div class="auto-btn1"></div>
<div class="auto-btn2"></div>
<div class="auto-btn3"></div>
<div class="auto-btn4"></div>
</div>
<!--automatic navigation end-->
</div>
<!--manual navigation start-->
<div class="navigation-manual">
<label for="radio1" class="manual-btn"></label>
<label for="radio2" class="manual-btn"></label>
<label for="radio3" class="manual-btn"></label>
<label for="radio4" class="manual-btn"></label>
</div>
<!--manual navigation end-->
</div>
<!--image slider end-->
</div>
<script type="text/javascript">
var counter = 1;
setInterval(function() {
document.getElementById('radio' + counter).checked = true;
counter++;
if (counter > 4) {
counter = 1;
}
}, 5000);
</script>
</body>
</html>