143143 But as I said, you won't need it for now, so don't worry - there are some simple but interesting things
144144 right around the corner of this tag ;)
145145
146+ ----------
147+ Plugins: We set the default time for autoplay plugin to 6 seconds. Autoplay will automatically advance
148+ to next slide after a timeout expires.
149+
146150-->
147- < div id ="impress ">
151+ < div id ="impress " data-autoplay =" 7 " >
148152
149153 <!--
150154
162166
163167 It will not be rotated or scaled.
164168
169+ --------
170+ Plugins: For first slide, set the autoplay time to a custom 10 seconds.
171+
165172 -->
166- < div id ="bored " class ="step slide " data-x ="-1000 " data-y ="-1500 ">
173+ < div id ="bored " class ="step slide " data-x ="-1000 " data-y ="-1500 " data-autoplay =" 10 " >
167174 < q > Aren’t you just < b > bored</ b > with all those slides-based presentations?</ q >
168175 </ div >
169176
@@ -256,8 +263,12 @@ <h1>impress.js<sup>*</sup></h1>
256263 So basically every step element has one of three classes: `future`, `present` and `past`.
257264 Only one current step has the `present` class.
258265
266+ Note: data-x/y/z attributes, if not defined, by default will inherit the value of the
267+ previous step. So to get back to 0 on the z-axis, we must set it to 0.
268+ See src/plugins/rel/README.md for more information.
269+
259270 -->
260- < div id ="ing " class ="step " data-x ="3500 " data-y ="-850 " data-rotate ="270 " data-scale ="6 ">
271+ < div id ="ing " class ="step " data-x ="3500 " data-y ="-850 " data-z =" 0 " data- rotate ="270 " data-scale ="6 ">
261272 < p > by < b class ="positioning "> positioning</ b > , < b class ="rotating "> rotating</ b > and < b class ="scaling "> scaling</ b > them on an infinite canvas</ p >
262273 </ div >
263274
@@ -267,7 +278,7 @@ <h1>impress.js<sup>*</sup></h1>
267278
268279 < div id ="source " class ="step " data-x ="6300 " data-y ="2000 " data-rotate ="20 " data-scale ="4 ">
269280 < p > want to know more?</ p >
270- < q > < a href ="http://github.com/bartaz /impress.js "> use the source</ a > , Luke!</ q >
281+ < q > < a href ="http://github.com/henrikingo /impress.js "> use the source</ a > , Luke!</ q >
271282 </ div >
272283
273284 < div id ="one-more-thing " class ="step " data-x ="6000 " data-y ="4000 " data-scale ="2 ">
@@ -306,11 +317,18 @@ <h1>impress.js<sup>*</sup></h1>
306317 CSS transfrom docs: https://developer.mozilla.org/en/CSS/transform
307318
308319 -->
309- < div id ="overview " class ="step " data-x ="3000 " data-y ="1500 " data-scale ="10 ">
320+ < div id ="overview " class ="step " data-x ="3000 " data-y ="1500 " data-z =" 0 " data- scale ="10 ">
310321 </ div >
311322
312323</ div >
313324
325+ <!--
326+ This is a UI plugin. You can read more about plugins in src/plugins/README.md.
327+ For now, I'll just tell you that this adds some graphical controls to navigate the
328+ presentation. In the CSS file you can style them as you want. We've put them bottom right.
329+ -->
330+ < div id ="impress-toolbar "> </ div >
331+
314332<!--
315333
316334 Hint is not related to impress.js in any way.
@@ -336,7 +354,8 @@ <h1>impress.js<sup>*</sup></h1>
336354
337355-->
338356< div class ="hint ">
339- < p > Use a spacebar or arrow keys to navigate</ p >
357+ < p > Use a spacebar or arrow keys to navigate. < br />
358+ Press 'P' to launch speaker console.</ p >
340359</ div >
341360< script >
342361if ( "ontouchstart" in document . documentElement ) {
0 commit comments