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

The duration in milliseconds of the fading in and out of the background dimming effect.
Set the value to 0 to disable the fading. Since version 3.3.7 the optional dimming effect (see hs.dimmingOpacity) by default fades in and out during 50 milliseconds. Each frame is 25 ms, so this gives one single intermediate level of opacity. This is enough to give a slightly softer dimming than if you disable the fading.

Details

Requires transitions
Type integer
Default value 50
Overrideable inline No

Example

Disable fading in and out

Put this in the head section of your page:

<script type="text/javascript">
  hs.dimmingDuration = 0;
</script>

See also

New, Edit