社区
JavaScript
帖子详情
javascript 能不能改变frame 的大小
jk325
2004-07-02 03:47:59
把一个页面用frame,分成上中下,三个部分后,
我想动态改变三个frame的大小,
能不能这样做,,过来人,指点一下..
...全文
138
7
打赏
收藏
javascript 能不能改变frame 的大小
把一个页面用frame,分成上中下,三个部分后, 我想动态改变三个frame的大小, 能不能这样做,,过来人,指点一下..
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
7 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
wanghr100
2004-07-05
打赏
举报
回复
top是指向框架的顶层.
资料
HTML
http://vip.5d.cn/friday/upload/dhtml html&css.chm
kingdomzhf
2004-07-05
打赏
举报
回复
顶层窗口对象
MSDN的library
JackyWu2003
2004-07-05
打赏
举报
回复
请教一下,top.document.all..中的top是什么对象指令?它是指什么的?应该看什么参考资料才有相关的材料?恳请赐教,谢谢。
wanghr100
2004-07-03
打赏
举报
回复
demo.htm
<iframe src="index_top.htm" trusted="yes" application="no" id="index_top" width="800" height="50" ></iframe>
<iframe src="index_main.htm" trusted="yes" application="no" id="index_main" width="800" height="521"></iframe>
<iframe src="index_bottom.htm" trusted="yes" application="no" id="index_bottom" width="800" height="29"></iframe>
index_top.htm
top
index_main.htm
<input type=button onclick="Hidden()" value="隐藏">
<input type=button onclick="Show()" value="显示">
<script>
function Show()
{
top.document.all["index_top"].style.height="50";
top.document.all["index_main"].style.height="521";
top.document.all["index_bottom"].style.height="29";
}
function Hidden()
{
top.document.all["index_top"].style.height="0";
top.document.all["index_main"].style.height="600";
top.document.all["index_bottom"].style.height="0";
}
</script>
index_bottom.htm
bottom
pengxuan
2004-07-02
打赏
举报
回复
<html>
<head>
<title>新建网页 1</title>
<script>
function aa()
{
document.all.iframe1.width=200;
document.all.iframe1.height=300;
}
</script>
</head>
<body>
<iframe href="" name="iframe1"></iframe>
<input type="button" name="B1" value="按钮" onclick="aa()">
</body>
</html>
jk325
2004-07-02
打赏
举报
回复
可我的框是这样分的
<iframe src="/index_top.jsp" trusted="yes" application="no" id="index_top" width="800" height="50" frameborder=0 scrolling=no></iframe>
<iframe src="/index_main.jsp" trusted="yes" application="no" id="index_main" width="800" height="521" frameborder=0 scrolling=no></iframe>
<iframe src="/index_bottom.jsp" trusted="yes" application="no" id="index_bottom" width="800" height="29" frameborder=0 scrolling=no></iframe>
wanghr100
2004-07-02
打赏
举报
回复
demo.htm
<frameset rows="30%,40%,30%" id="baobao">
<frame src="top.htm" name="topFrame">
<frame src="middle.htm" name="middleFrame">
<frame src="bottom.htm" name="bottomFrame">
</frameset>
top.htm
top
middle.htm
<input type=button onclick="window.parent.baobao.rows='0,100%,0'" value="隐藏">
<input type=button onclick="window.parent.baobao.rows='30%,40%,30%'" value="显示">
bottom.htm
bottom
javascript
实现漂亮的拖动层,窗口拖拽特效
一个可关闭、可随意拖动位置的网页弹出层代码,美化的相当漂亮,简洁实用,还可拖动
改变
大小
,通过八个方向
改变
大小
,学习这类特效编写的网页设计者可参阅一下
javascript
动态
改变
框架
frame
,i
frame
的
大小
动态
改变
框架
大小
by 闫磊 Email:Landgis@126.com,yanleigis@21cn.com 2007.11.22 title > head > <
FRAME
SET name ="full" rows ="50%,50%" > <
FRAME
SRC ="main.htm" > <
FRAME
SRC =...
关于tkinter中
frame
框架长宽设置的问题
新增代码后自动
改变
了
frame
的
大小
,在...Check_Button_1 = tk.Checkbutton(
frame
_1, text="启动1999", background='white')在
frame
中如果想要新增一些组件,例如lable,checkbutton时,自定义的
frame
大小
会发生
改变
。
如何动态
改变
Frame
的
大小
?
简介:我想大家应该见过有些网站如Msdn.microsoft.com内一些分帧的页面在按下页面的某个按钮后,页面中的某个帧就会隐藏了,其实这种效果实现起来挺简单的,现在我们就来看看如何用
Javascript
来访问和修改
Frame
对象...
frame
的使用 以及
javascript
对其的操作
HTML 文档可包含
FRAME
SET 元素或 BODY 元素之一,两者
不能
同时使用。框架将网页分成几个框窗,同时取得多个URL。用 即可,所有框架标记需要放在一个总起的 html 文档里,这个档案只记录了该框架如何分割 ,不会显示...
JavaScript
87,921
社区成员
224,619
社区内容
发帖
与我相关
我的任务
JavaScript
Web 开发 JavaScript
复制链接
扫一扫
分享
社区描述
Web 开发 JavaScript
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章