-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
165 lines (149 loc) · 7.16 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
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<html>
<head>
<title>jqPresentation</title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link href='favicon.ico' rel='shortcut icon' />
<link href="Source/CSS/jqPresentation.css" rel="stylesheet" type="text/css" />
<link href="Source/CSS/jqPresentation.Blue.css" rel="stylesheet" type="text/css" />
<link href="Demos/SyntaxHighlighter/shCore.Blue.css" rel="stylesheet" type="text/css" />
<script src="Dependencies/jquery-1.6.3.js" type="text/javascript"></script>
<script src="Dependencies/jquery-ui-1.8.16.effects.min.js" type="text/javascript"></script>
<script src="Dependencies/jquery.mousewheel.js" type="text/javascript"></script>
<script src="Dependencies/jquery.ba-hashchange.js" type="text/javascript"></script>
<script src="Source/jqPresentation.js" type="text/javascript"></script>
<script src="Demos/SyntaxHighlighter/shCore.js" type="text/javascript"></script>
<script src="Demos/SyntaxHighlighter/shBrushJScript.js" type="text/javascript"></script>
<script src="Demos/SyntaxHighlighter/shBrushXml.js" type="text/javascript"></script>
<style type="text/css">
.Corner {
position: absolute;
left: 10px;
bottom: 10px;
}
kbd {
background: none repeat scroll 0 0 #EEEEEE;
border-color: #CCC #AAA #888 #BBB;
border-style: solid;
border-width: 1px 3px 3px 1px;
color: black;
padding: 2px 4px;
white-space: nowrap;
}
</style>
</head>
<body>
<div class="Presentation">
<section class="Slide">
<h1>
jqPresentation</h1>
<p>
jqPresentation is a jQuery-based presentation framework.</p>
<p class="Item">
Using jqPresentation, you can create PowerPoint-style presentations with text, images,
and animation.
</p>
<p class="Item" data-animation="Puff">
You can write your presentation in standards-compliant and semantic HTML5, then
call <code>$('.Presentation').presentation()</code> and let me do the rest.
</p>
<p class="Item" data-animation="Explode">
It's great for presentations about web development, since you can include interactive
Javascript features right in the presentation.
</p>
<aside class="Corner">
<em>(Click to advance, or use arrow keys)</em>
</aside>
</section>
<section class="Slide" id="Features">
<h1>
Features</h1>
<ul>
<li class="Item" data-animation="drop">Uses semantic, standards-compliant HTML</li>
<li class="Item" data-animation="drop">Extensible animation engine, including jQuery
UI effects</li>
<li class="Item" data-animation="drop">Tracks current position to return to where you
were up to after following links (<a href="OtherPage.html">demo</a>)</li>
<li class="Item" data-animation="drop">Uses hashes to make the browser's Back button
navigate by slides</li>
<li class="Item" data-animation="drop">Automatically uses slide IDs to make friendly
slide links, if present</li>
</ul>
</section>
<section class="Slide" id="Controls">
<h1>
Controls</h1>
<ul>
<li class="Item" data-animation="drop">Move forwards one item: <kbd>→</kbd>, <kbd>
↓</kbd>, <kbd title="space bar">
</kbd></li>
<li class="Item" data-animation="drop">Move backwards one item: <kbd>←</kbd>, <kbd>
↑</kbd> </li>
<li class="Item" data-animation="drop">Move forwards one slide: <kbd>Page Down</kbd>
</li>
<li class="Item" data-animation="drop">Move backwards one slide: <kbd>Page Up</kbd>
</li>
<li class="Item" data-animation="drop">Move to beginning of presentation: <kbd>Home</kbd>
</li>
<li class="Item" data-animation="drop">Move to end of presentation: <kbd>End</kbd>
</li>
</ul>
<p class="Item">
Clicking a blank area of the current slide will advance one item.<br />
Clicking an adjacent slide will move to that slide.
</p>
<p class="Item">
If the jQuery <a href="https://github.com/brandonaaron/jquery-mousewheel">mousewheel
plugin</a> is installed, the scroll wheel will move back and forth one item
at a time.
</p>
</section>
<section class="Slide" id="Instructions">
<h1>
Instructions</h1>
<div class="ShrinkWrap CodeBox">
<pre class="brush: html">
<article class="Presentation">
<section class="Slide">
<h1>Slide Title</h1>
<p class="Item">
This element will slide down when you click.
</p>
</section>
<section class="Slide">
...
</section>
</article>
</pre>
</div>
<div class="ShrinkWrap CodeBox">
<pre class="brush: js">$('.Presentation').presentation();</pre>
</div>
<p>
For more information, see the <a href="https://github.com/SLaks/jqPresentation/blob/master/Readme.md">readme</a>.</p>
</section>
<section class="Slide" id="Download">
<h1>
Download</h1>
<a href="https://github.com/SLaks/jqPresentation/zipball/master">Source code</a>
</section>
</div>
<script type="text/javascript">
//http://blog.slaks.net/2011/09/xregexp-breaks-jquery-animations.html
if (XRegExp) {
var xExec = RegExp.prototype.exec;
RegExp.prototype.exec = function (str) {
if (!str.slice)
str = String(str);
return xExec.call(this, str);
};
}
var p = $('.Presentation').presentation();
SyntaxHighlighter.defaults.toolbar = false;
SyntaxHighlighter.defaults['quick-code'] = false;
SyntaxHighlighter.all();
</script>
</body>
</html>