hs.objectType
One of 'ajax', 'iframe' or 'swf'. Defines how you want to display the link target.
Details
Requires |
html |
Type |
string |
Default value |
null |
Overrideable inline |
Yes |
Example
1) AJAX content
<a class="highslide" href="../include-short.htm"
onclick="return hs.htmlExpand(this, { objectType: 'ajax'})">
Click to open
</a>
Click to see the effect. Note that when using AJAX, the inserted content takes the styles of the parent page.
Click to open
2) Iframe content
This is the exact counterpart to AJAX content.
<a class="highslide" href="../include-short.htm"
onclick="return hs.htmlExpand(this, { objectType: 'iframe'})">
Click to open
</a>
Click to see the effect. On the contrary to AJAX, iframe popups take the styles defined in the included page itself.
Click to open
3) Flash content
Include a Flash movie. Additional Flash options are set through the hs.swfOptions object.
<a class="highslide" href="../Flash.swf"
onclick="return hs.htmlExpand(this, { objectType: 'swf',
objectWidth: 300, objectHeight: 250 })">
Click to open
</a>
Click to see the effect.
Click to open
See also