【发布时间】:2012-09-03 13:34:34
【问题描述】:
这是我想做的:
在我的博客中,cmets 使用 iframe 显示在 fancybox 弹出窗口中。 (例如:- 对于 2 号帖子,cmets 链接打开 iframe fancybox comments.php?id=2)
我想检查 cmets.php 是否加载到 iframe 中,如果没有,则重定向到相应的博客页面。即post.php?id=2
我检查了谷歌和其他网站,包括。堆栈溢出。但没有用。请帮忙。 (这似乎很容易。但它不起作用http://www.onlineaspect.com/2009/06/10/reading-get-variables-with-javascript/
【问题讨论】:
标签: javascript html redirect iframe get