hs.autoplay
Inline option to start running a slideshow from a thumbnail.
Details
Requires |
slideshow |
Type |
boolean |
Default value |
null |
Overrideable inline |
Yes |
Example
Starting the slideshow from the thumb.
This example is based upon the slideshow code from the hs.addSlideshow example.
The first thumbnail has autoplay applied to it.
<a class="highslide" href="../samples/full1.jpg"
onclick="return hs.expand(this, { autoplay:true })">
<img src="../samples/thumb1.jpg" alt=""/>
</a>
<a class="highslide" href="../samples/full3.jpg"
onclick="return hs.expand(this)">
<img src="../samples/thumb3.jpg" alt=""/>
</a>
The effect:
Notice how the play button is in pause mode.
See also