-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex3.html
More file actions
140 lines (132 loc) · 5.96 KB
/
index3.html
File metadata and controls
140 lines (132 loc) · 5.96 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<!-- MY STYLES -->
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/style3.css">
<title>Cat House Landing Page</title>
</head>
<body>
<!-- BEFORE THE FOLD -->
<header>
<div class="navbar">
<img id="chplogo" src="media/chp_logo.jpg" alt="Cat House Percussion Logo" </div>
<div>
<a href="#contact">Contact</a>
<a href="#products">Products</a>
<a href="#gallery">Gallery</a>
<a href="#about">About</a>
</div>
<div>
<a href="https://www.facebook.com/cathousepercussion/" alt=""><img id="facebook" src="media/fb-square.png" alt="Cat House Percussion Facebook"</img></a>
<div>
</header>
<main>
<!-- ABOUT SECTION -->
<section id="about">
<h1>CAT HOUSE PERCUSSION</h1>
<img src="media/chp_logo.jpg" alt="Cat House Percussion Logo">
<a href="#gallery">See Our Drums!</a>
</section>
<!-- GALLERY SECTION -->
<section id="gallery">
<h1>GALLERY</h1>
<div class="w3-content w3-display-container">
<img class="mySlides" src="media/cajon_4.jpg" alt="cajon_1">
<img class="mySlides" src="media/cajon_2.jpg" alt="cajon_1">
<img class="mySlides" src="media/cajon_construct_1.jpg" alt="cajon_1">
<img class="mySlides" src="media/cajon_construct_2.jpg" alt="cajon_1">
<img class="mySlides" src="media/cajon_construct_3.jpg" alt="cajon_1">
<img class="mySlides" src="media/cajon_construct_4.jpg" alt="cajon_1">
<img class="mySlides" src="media/chp_cat.jpg" alt="cajon_1">
<img class="mySlides" src="media/chp_kyle_smile.jpg" alt="cajon_1">
<img class="mySlides" src="media/chp_on_stage_1.jpg" alt="cajon_1">
<div class="w3-center w3-container w3-section w3-large w3-text-black w3-display-bottommiddle" style="width:100%">
<div class="w3-left" onclick="plusDivs(-1)">❮</div>
<div class="w3-right" onclick="plusDivs(1)">❯</div>
<span class="w3-badge demo w3-border w3-transparent w3-hover-black" onclick="currentDiv(1)"></span>
<span class="w3-badge demo w3-border w3-transparent w3-hover-black" onclick="currentDiv(2)"></span>
<span class="w3-badge demo w3-border w3-transparent w3-hover-black" onclick="currentDiv(3)"></span>
<span class="w3-badge demo w3-border w3-transparent w3-hover-black" onclick="currentDiv(4)"></span>
<span class="w3-badge demo w3-border w3-transparent w3-hover-black" onclick="currentDiv(5)"></span>
<span class="w3-badge demo w3-border w3-transparent w3-hover-black" onclick="currentDiv(6)"></span>
<span class="w3-badge demo w3-border w3-transparent w3-hover-black" onclick="currentDiv(7)"></span>
<span class="w3-badge demo w3-border w3-transparent w3-hover-black" onclick="currentDiv(8)"></span>
<span class="w3-badge demo w3-border w3-transparent w3-hover-black" onclick="currentDiv(9)"></span>
<script>
var slideIndex = 1;
showDivs(slideIndex);
function plusDivs(n) {
showDivs(slideIndex += n);
}
function currentDiv(n) {
showDivs(slideIndex = n);
}
function showDivs(n) {
var i;
var x = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("demo");
if (n > x.length) {
slideIndex = 1
}
if (n < 1) {
slideIndex = x.length
}
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" w3-white", "");
}
x[slideIndex - 1].style.display = "block";
dots[slideIndex - 1].className += " w3-white";
}
</script>
</section>
<!-- PRODUCTS SECTION -->
<section id="products">
<h1>PRODUCTS</h1>
<div class="cajonContainer">
<div class="cajon">
<a target="_blank" href="media/cajon_1.jpg">
<img src="media/cajon_1.jpg" alt="Cajon 1" width="30%" height="auto">
</a>
</div>
<div class="cajon">
<a target="_blank" href="media/cajon_3.jpg">
<img src="media/cajon_3.jpg" alt="Cajon 3" width="30%" height="auto">
</a>
</div>
<div class="cajon">
<a target="_blank" href="media/cajon_5.jpg">
<img src="media/cajon_5.jpg" alt="Cajon 5" width="30%" height="auto">
</a>
</div>
<div class="cajon">
<a target="_blank" href="media/cajon_6.jpg">
<img src="media/cajon_6.jpg" alt="Cajon 6" width="30%" height="auto">
</a>
</div>
</section>
<!-- CONTACT SECTIONS -->
<section id="contact">
<h3>Quick Contact</h3>
<h4>Contact us today, and get reply with in 24 hours!</h4>
<fieldset>
<input placeholder="Your name" type="text" tabindex="1" required autofocus>
</fieldset>
<fieldset>
<input placeholder="Your Email Address" type="email" tabindex="2" required>
</fieldset>
<fieldset>
<textarea placeholder="Type your Message Here...." tabindex="5" required></textarea>
</fieldset>
<fieldset>
<button name="submit" type="submit" id="contact-submit" data-submit="...Sending">Submit</button>
</fieldset>
</form>
</div>
</section>