link fix
This commit is contained in:
@@ -18,11 +18,11 @@
|
||||
<div id="docPage">
|
||||
<div id="doc-container">
|
||||
<h1>Autoplay</h1>
|
||||
<p>The <a href="/src/plugins/autoplay/autoplay.js">autoplay</a> plugin automatically advances the presentation after a certain timeout expired.</p>
|
||||
<p>The <a href="https://github.com/impress/impress.js/blob/master/src/plugins/autoplay/autoplay.js">autoplay</a> plugin automatically advances the presentation after a certain timeout expired.</p>
|
||||
<h2>USAGE</h2>
|
||||
<p>You first have to enable the plugin by setting a global <code>data-autoplay</code> value on the impress-div. Then you can change individual <code>data-autoplay</code> values on each <em>step</em> by adding <code>data-autoplay</code> to it. If this value is set to <code>0</code>, there will be no more auto-advancing on this <em>step</em>. The value you enter is time in seconds to switch to the next slide.</p>
|
||||
<h2>EXAMPLE</h2>
|
||||
<p>Note: This only shows part of the HTML. If you want to know how to set up a presentation, I highly recommend you read our <a href="https://github.com/impress/impress.js/blob/master/GettingStarted.md">Getting Started Guide</a></p>
|
||||
<p>Note: This only shows part of the HTML. If you want to know how to set up a presentation, I highly recommend you read our <a href="/docs/gettingStarted.html">Getting Started Guide</a></p>
|
||||
<pre><code><div id=impress data-autoplay="5">
|
||||
<div class="step" data-autoplay="0">
|
||||
This slide will not auto-advance
|
||||
|
||||
@@ -37,7 +37,7 @@ of different divs.</p>
|
||||
margin-right: 10px;
|
||||
}
|
||||
</code></pre>
|
||||
<p>The <a href="../mouse-timeout/README.md">mouse-timeout</a> plugin can be leveraged to hide
|
||||
<p>The <a href="/docs/plugins/mouse-timeout">mouse-timeout</a> plugin can be leveraged to hide
|
||||
the toolbar from sight, and only make it visible when mouse is moved.</p>
|
||||
<pre><code>body.impress-mouse-timeout div#impress-toolbar {
|
||||
display: none;
|
||||
|
||||
Reference in New Issue
Block a user