Highslide JS API Reference

Close Move
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam dapibus leo quis nisl. In lectus. Vivamus consectetuer pede in nisl. Mauris cursus pretium mauris. Suspendisse condimentum mi ac tellus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Donec sed enim. Ut vel ipsum. Cras consequat velit et justo. Donec mollis, mi at tincidunt vehicula, nisl mi luctus risus, quis scelerisque arcu nibh ac nisi. Sed risus. Curabitur urna. Aliquam vitae nisl. Quisque imperdiet semper justo. Pellentesque nonummy pretium tellus.
Resize

Object: hs

Variables

Functions

Events

Object: hs.Expander

Variables

Functions

Events



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

New, Edit