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

Specifies the height of an included iframe or Flash movie.

For Flash movies, objectHeight and objectWidth should always be defined.

For iframes the objectHeight can often be ignored. When a) hs.objectLoadTime is 'after', or b) when you include a web page from another domain in iframe content, Highslide is not able to compute the height of the included content. The hs.objectHeight setting specifies the pixel size of the dynamic iframe. Note that this property together with the width of the iframe is reduced to fit the window according to hs.allowWidthReduction, hs.allowHeightReduction, hs.minWidth and hs.minHeight.

Details

Requires html
Type integer
Default value null
Overrideable inline Yes

Example

<a href="../iframe.htm"
        onclick="return hs.htmlExpand(this, {
            contentId: 'my-content',
            objectType: 'iframe',
            objectWidth: 700,
            objectHeight: 900} )"
        class="highslide">
    Content in iframe
</a>
<div class="highslide-html-content"
        id="my-content" style="width: 700px">
    <div style="text-align: right">
       <a href="#" onclick="return hs.close(this)">
          Close
       </a>
    </div>    
    <div class="highslide-body"></div>
</div>

The effect:

Content in iframe

See also

New, Edit