首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

JS跃出IFrame

2012-11-11 
JS跳出IFramescript typetext/javascriptif (top.location ! self.location) {top.location self

JS跳出IFrame
<script type="text/javascript">
   if (top.location !== self.location) {
     top.location = self.location;
   }
</script>

热点排行