站 内 搜 索
热门特效推荐

  您当前位置:中国素材首页 >> 网页特效 >> 框架类 >> 自动跳出框架
 
自动跳出框架
中国素材网 www.sucai86.com 2005-3-23 16:56:22 流量数:

自动跳出框架
[查看演示]  源码如下
----------------------------------------------------------------------------------------

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 2-www.51windows.Net</title>
<style>
<!--
body { font-family: Tahoma; font-size: 8pt }
-->
</style>
</head>

<body>

<p>&lt;SCRIPT LANGUAGE=JAVASCRIPT>&nbsp;<br>
if (top.location !== self.location) {&nbsp;<br>
top.location=self.location; }&nbsp;<br>
&lt;/SCRIPT> </p>
</body>
</html>

<div style="position: absolute; top: 10; right: 10; width: 148; height: 18;cursor:hand">
<input type="button" name="Button" value="查看源代码" onClick= 'window.location = "view-source:" + window.location.href'></div> ----------------------------------------------------------------------------------------
欢迎来到中国素材网!