emmmmm跟umm什么意思:ASP的框架,如何让用户自由改变框架的宽度?

来源:百度文库 编辑:查人人中国名人网 时间:2024/05/15 05:49:33
就是鼠标放在交界处,可以左右拖动分界条,然后宽度就改变了.
代码怎么写呀?
就像这个一样:
http://www.51windows.net/pages/jscript5/?url=/pages/jscript5/html/jsstmtrycatch.htm

这不用ASP啊,HTML本身就可以实现.
<frame>有一个noresize属性.

修改源码就是了,但是你要分清楚相对地址和绝对地址.
<html>

<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title>标题部份</title>
</head>
<frameset cols="30%,*">
<frame name="dir" target="main" src="dir.htm">
<frame name="main" src="/pages/jscript5/html/jsstmtrycatch.htm">
<noframes>
<body>

<p>此网页使用了框架,但您的浏览器不支持框架。</p>
<SCRIPT LANGUAGE="JavaScript" src="这是相对地址/log/sitelog.asp"></SCRIPT>
</body>
</noframes>
</frameset>

</html>