我正在使用Highslide弹出窗口。我想关闭单击按钮时的弹出窗口。按钮在页面内部。打开hs.htmlExpand( this,{ src:'add_image.php',objectType:'iframe‘})使用了它正在打开的这个函数。
当关闭时使用了这个,但它不起作用。
提前谢谢。
发布于 2010-10-13 10:11:32
使用以下命令:
<input id="Button1" type="button" value="Cancel" onclick="javascript:parent.window.hs.close();" /> 发布于 2013-09-24 20:12:10
如果要在单击外部时关闭body标记,请对body标记执行此操作。
<body onClick="hs.close()">https://stackoverflow.com/questions/1979997
复制相似问题