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

How many pixels to drag the full image before it starts moving.
The dragSensitivity option only applies to dragging the expanded image itself, not the highslide-move or highslide-resize handles.

Details

Requires dragging
Type int
Default value 5
Overrideable inline No

Example

Setting it to 20

Put this in the head section of your page.

<script type="text/javascript">
   hs.dragSensitivity = 20;
</script>

Open the expander and drag the image itself to see the effect.

See also

New, Edit