跳出框架js

跳出来到哪个页面,就在哪个页面加这个代码
<script>
if (top.location !== self.location)
{
top.location=self.location;
}
</script>

posted @ 2009-07-28 17:03  凡的世界  阅读(1418)  评论(0)    收藏  举报