forked from LeaVerou/inspire.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathslideshow.html
More file actions
34 lines (30 loc) · 884 Bytes
/
slideshow.html
File metadata and controls
34 lines (30 loc) · 884 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="author" content="<%= @headers['author']%>" />
<title><%= @headers['title'] %></title>
<link href="slideshow.css" rel="stylesheet" type="text/css" />
<link href="theme.css" rel="stylesheet" type="text/css" />
<link href="sample-slideshow.css" rel="stylesheet" type="text/css" />
</head>
<body>
<header id="intro" class="slide">
<h1>
<%= @headers['title'] %>
</h1>
<p class="attribution">By <%= @headers['author'] %></p>
</header>
<% @slides.each do |slide| %>
<div class="slide">
<h2><%= slide.header %></h2>
<%= slide.content %>
</div>
<% end %>
<script src="classList.js"></script>
<script src="slideshow.js"></script>
<script>
var slideshow = new SlideShow(document.getElementById('presentation'));
</script>
</body>
</html>