hs.objectLoadTime
Display an iframe or Flash object before or after the animation.
The value can 'before' or 'after', default 'before'. Applies to iframe and Flash objects. This setting determines whether to load the object before or after the expander has expanded. Loading the object before the expansion may cause visual noise in some browsers. When objectLoadTime is 'before', the object will also be hidden before the popup closes.
For iframe content, if objectLoadTime is set to 'after', hs.objectHeight is required.
Details
Requires |
html |
Type |
string |
Default value |
|
Overrideable inline |
Yes |
Example
Setting it to 'after' for all expanders
Put this in the head section of your page. This affects all expanders on your page.
<script type="text/javascript">
hs.objectLoadTime = 'after';
</script>
See also