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.Expander.prototype.thumb

The thumbnail image, if any, that was clicked to open the expander.
Used within the hs.Expander object, this.thumb refers to the thumbnail. If there is no thumbnail image inside the opening anchor, this.thumb equals this.a. If the hs.thumbnailId setting is provided, this.thumb refers to that element.

Details

Type DOMElement
Default value
Overrideable inline No

Example

Alert the src of the thumbnail.

This example requires events in the configuration.

hs.Expander.prototype.onAfterExpand = function () {
   alert (this.thumb.src);
}

The effect:

This is the caption text
New, Edit