-
Notifications
You must be signed in to change notification settings - Fork 0
/
featured.html
91 lines (76 loc) · 2.5 KB
/
featured.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
<!DOCTYPE html>
<title>Featured Artists</title>
<html lang="en-GB">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100&display=swap" rel="stylesheet">
<link href = "style.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300&display=swap" rel="stylesheet">
</head>
<body>
<a class="bio2" href = "index">Home</a>
<a class = "fa" href = "bio">Bio</a>
<j class="links">
<a href=https://www.instagram.com/paulmdowling/ target="_blank"> Instagram</a>
- [email protected] - 07810155810
</j>
<h1>
Paul Dowling
</h1>
<h2>
Featured Artist: Ray
</h2>
<div class="slideshow-container">
<div class="mySlides fade">
<img src="img1b.png" alt="picture1">
<figcaption>Randomly Generated Pattern Based on Islamic Geometry Print A0 #1 £250</figcaption>
</div>
<div class="mySlides fade">
<img src="img6b.png" alt="picture2">
<figcaption>Randomly Generated Pattern Based on Islamic Geometry Print A0 #2 £250</figcaption>
</div>
<div class="mySlides fade">
<img src="img3b.png" alt="picture3">
<figcaption>Randomly Generated Pattern Based on Islamic Geometry Print A0 #3 £250</figcaption>
</div>
<div class="mySlides fade">
<img src="img5b.png" alt="picture4">
<figcaption>Randomly Generated Pattern Based on Islamic Geometry Print A0 #4 £250</figcaption>
</div>
<div class="mySlides fade">
<img src="download (15).png" alt="picture5">
<figcaption>Randomly Generated Pattern Based on Islamic Geometry Print A0 #5 £250</figcaption>
</div>
</div>
<a class="prev" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
<br>
<script>
var slideIndex = 1;
showSlides(slideIndex);
function plusSlides(n) {
showSlides(slideIndex += n);
}
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
var i;
var slides = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("dot");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
slides[slideIndex-1].style.display = "block";
}
document.addEventListener('keydown', (e) => {
if (e.keyCode === 39) plusSlides(1);
if (e.keyCode === 37) plusSlides(-1)
});
</script>
</body>
</html>