开发者

The iframe closes (via onclick="self.parent.tb_remove();) in Firefox and IE7 but it doesn't close in Chrome

开发者 https://www.devze.com 2022-12-28 09:38 出处:网络
The code: Html: <p>View full-size photo <a href=\"iframeModal.html?placeValuesBeforeTB_=savedValues&TB_iframe=true&height=500&width=800&modal=true\" title=\"The descripttion

The code:

Html:

<p>View full-size photo <a href="iframeModal.html?placeValuesBeforeTB_=savedValues&TB_iframe=true&height=500&width=800&modal=true" title="The descripttion goes here." class="thickbox">here</a>.</p>

Iframe:

  <input id="Login" value="&nbsp;&nbsp;Ok&nbsp;&nbsp;" onclick="self.parent.tb_rem开发者_开发百科ove();" type="submit">

Am I missing something?


I'd try window.parent.tb_remove(); I don't know what "self" is and I don't know what "tb_remove" is and, overall, I don't really understand the situation, however.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号