Hi
I have a gallery and an iframe on the same page.
I would like to add the "mac style" close button to the iframe only. It did not seem to me the Editor makes it possible.
is there a solution ? Thanks.
Code: Select all
<a href="highslide/sample-includes/include-short.htm" onclick="return hs.htmlExpand(this, {
objectType: 'iframe', width: 400,
creditsPosition: 'bottom left', headingText: 'Title from onclick',
wrapperClassName: 'titlebar' } )">Iframe</a>
Code: Select all
<a href="highslide/sample-includes/include-short.htm" onclick="return hs.htmlExpand(this, {
objectType: 'iframe', width: 400,
creditsPosition: 'bottom left', headingText: 'Title from onclick',
wrapperClassName: 'titlebar'[hilight], slideshowGroup: 'html'[/hilight] } )">Iframe</a>
Code: Select all
hs.registerOverlay({
[hilight]slideshowGroup: 'html',[/hilight]
html: '<div class="closebutton" onclick="return hs.close(this)" title="Close"></div>',
position: 'top right',
useOnHtml: true,
fade: 2 // fading the semi-transparent overlay looks bad in IE
});