我正在使用 Highslide 弹出窗口。我想关闭按钮单击时的弹出窗口。该按钮位于页面内部。为了打开 hs.htmlExpand(this, { src: 'add_image.php', objectType: 'iframe' } ) 使用了它正在打开的函数。
当 Closing 使用 this 但它不起作用。
提前致谢。
最佳答案
使用这个:
<input id="Button1" type="button" value="Cancel" onclick="javascript:parent.window.hs.close();" />
关于javascript - HighSlide 关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1979997/