开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜