-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (35 loc) · 891 Bytes
/
index.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
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="IE=Edge">
<title>fadeshow.js Example</title>
<link rel="stylesheet" href="css/fadeshow.css">
<script src="src/fadeshow.js"></script>
<script>
function init()
{
(new Fadeshow({"duration":3,"add_nav":true})).init();
}
document.addEventListener("DOMContentLoaded", init);
</script>
</head><body>
<header>
<h1><a href="https://github.com/domsson/fadeshow.js">fadeshow.js</a></h1>
</header>
<main>
<section data-fadeshow="">
<figure>
<img src="img/a.jpg">
<figcaption>View from Himeji Castle</figcaption>
</figure>
<figure>
<img src="img/b.jpg">
<figcaption>A famous shrine in Kobe</figcaption>
</figure>
<figure>
<img src="img/c.jpg">
<figcaption>Hommachi area, Osaka</figcaption>
</figure>
</section>
</main>
</body></html>