javascript - HighSlide Close - Stack Overflow

admin2025-03-20  7

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 badges
Add a ment  | 

2 Answers 2

Reset to default 6

use 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()">
转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1742416644a212697.html

最新回复(0)