-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
89 lines (77 loc) · 1.79 KB
/
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
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
<!--
JSKeynote
---------
author: Mariz Melo (MM) 2011
website: http//:www.emoriz.com
license: http://creativecommons.org/licenses/by-sa/3.0/
09.29.2011 - UPDATE
----------------------------------
Added TITLES for slides
- press "t" on keyboard to activate
/deactivate titles
- personalize using CSS file class:
.jsk_tooltip
- config on "jquery.jskeynote.js"
-->
<html>
<head>
<title>jskeynote</title>
<link rel="stylesheet" type="text/css" href="jskeynote.css" />
<style>
/*OPTIONAL*/
.jskeynote .titles{
text-align: center;
margin-top: 330px;
font-size: 40px;
}
.jskeynote .titles span{
border: 2px dotted #ececec; padding: 10px;
}
.jskeynote .titles .small{
font-size: 12px; color: #bbb;
}
</style>
</head>
<body>
<!--
----------------------------------
PLUGIN USES DL/DD INSTEAD OF UL/LI
----------------------------------
create as many DD's you want and
place your HTML code inside of them
you can also include AJAX code for
external content inside of the DD's
Enjoy...
-->
<div id="presentation" class="jskeynote">
<dl>
<dd title="TITLE 1">
<div class="titles">
<span class="rounded">SLIDE 1</span>
<br/><br/>
<span class="small rounded">
Use your <b>arrow keys</b> to navigate: <b>← LEFT</b> | <b>RIGHT →</b>
</span>
</div>
</dd>
<dd title="TITLE 2">
<div class="titles">
<span class="rounded">SLIDE 2</span>
</div>
</dd>
<dd title="TITLE 3">
<div class="titles">
<span class="rounded">SLIDE 3</span>
</div>
</dd>
</dl>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script src="jquery.jskeynote.js"></script>
<script>
$(function(){
$("#presentation").jskeynote(); //HOW TO CALL PLUGIN
});//document.ready
</script>
</body>
</html>