I am using Highslide popup. I want to close the popup on button Click. The button is inside the page. For opening hs.htmlExpand(this, { src: 'add_image.php', objectType: 'iframe' } ) used this function it is opening.
When Closing used this But it is not working.
Thanks in advance.
I am using Highslide popup. I want to close the popup on button Click. The button is inside the page. For opening hs.htmlExpand(this, { src: 'add_image.php', objectType: 'iframe' } ) used this function it is opening.
When Closing used this But it is not working.
Thanks in advance.
Share Improve this question asked Dec 30, 2009 at 12:37 PranjaliPranjali 472 silver badges8 bronze badges2 Answers
Reset to default 6use this:
<input id="Button1" type="button" value="Cancel" onclick="javascript:parent.window.hs.close();" />
do this on body tag if you want to close it on clicking outside..
<body onClick="hs.close()">