Iframe

来自康健生活
Kangkk​(留言 | 贡献)2020年8月31日 (一) 07:26的版本 (创建页面,内容为“== 跳转 == === 向父级跳转 === iframe 在登录页面中加入下面的代码,就会在最外层页面跳转 <syntaxhighlight lang="html5"> <script language…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

跳转

向父级跳转

iframe 在登录页面中加入下面的代码,就会在最外层页面跳转

<script language="JavaScript"> 
if (window != top) 
top.location.href = location.href; 
</script>