javascript - HighSlide Close - Stack Overflow

I am using Highslide popup. I want to close the popup on button Click. The button is inside the page. F

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()">

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742416643a4439871.html

相关推荐

  • javascript - HighSlide Close - Stack Overflow

    I am using Highslide popup. I want to close the popup on button Click. The button is inside the page. F

    4小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信