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.useBox

Use a constraining box so that the borders, captions etc. don't change size from image to image.

The size of the box is determined by hs.width and hs.height. When useBox is true, hs.minWidth, hs.minHeight and hs.allowSizeReduction values apply to the box rather than the image itself. The image is simply fitted in the box.

The useBox option only applies to image popups, as HTML popups already have separate width and height handling.

Details

Requires autosize
Type boolean
Default value false
Overrideable inline Yes

Example

See also

New, Edit