广东省揭阳市公安局:在xxxx.htm文件使用桢结构(frame)屏蔽URL,麻烦高手们!谢谢

来源:百度文库 编辑:中科新闻网 时间:2024/05/12 04:57:55
在xxxx.htm文件使用桢结构(frame)屏蔽URL

例如:以下是这个页面的全部内容:
<html>
<head>
<title>申请开通</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<frame bgcolor="#FFFFFF" text="#000000">

<p> </p>
<p>请输入)</p>
<form action="http://163.com/cgi-bin/epp2/dn_info" method="post">
<!--//STATIC//--><input type="text" name=dn>
<input type="submit" name=submit value=确定>
</form>
</body>
</html>

</p>
</frame>
</html>
例如屏蔽成:www.yahoo.com.cn

在<head>和</head>中加入

<script type="text/javascript">
<!--
var b="自己输入地址栏显示的内容";
function d(){
window.status=b;
timerID=setTimeout("d()",1);
}
-->
</script>

没看明白你的代码啥意思。

是不是这个?把下面代码复制到XXX.htm里试试。如果还不明白。发邮件给我penguinworkroom@163.com把你的问题写明白点。

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>

<frameset rows="0,*" frameborder="NO" border="0" framespacing="0">
<frame src="" name="topFrame" scrolling="NO" noresize>
<frame src="http://www.163.com" name="mainFrame">
</frameset>
<noframes><body>
</body></noframes>
</html>