在包含片段的部分中,我只想对片段使用自动播放。
....
<section id="fragments">
<h2>Things</h2>
<p>...</p>
<div style="text-align: left; margin-left: 30%">
<p class="fragment"><i class="fa fa-long-arrow-right"></i> issue 1</p>
<p class="fragment"><i class="fa fa-long-arrow-right"></i> issue 2</p>
<p class="fragment"><i class="fa fa-long-arrow-right"></i> issue 3</p>
<p class="fragment"><i class="fa fa-long-arrow-right"></i> issue 4</p>
</div>
<aside class="notes">
This slide has fragments which are also stepped through in the notes window.
</aside>
</section>
...
如何自动播放片断?
发布于 2016-02-17 19:39:07
通过在部分中设置属性data-autoslide=milliseconds
...
<section id="fragments" data-autoslide="1000">
...
自动播放适用于片段,但会自动播放到下一节。请参阅http://codepen.io/tstangenberg/pen/OMGmbm
https://stackoverflow.com/questions/35427149
复制相似问题