Groups
Groups
Sign in
Groups
Groups
系统维护与网络安全
Conversations
About
Send feedback
Help
弹出窗口和iframe
0 views
Skip to first unread message
黑宝石
unread,
Sep 22, 2005, 9:11:45 PM
9/22/05
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to blogger我的Blog, yd...@hotmail.com, 宝石花, google论坛, yd-...@msn.com
网页对窗口控制已经有很多文章介绍了,但控制对话框的技巧却不是很多,下面是一些基本的控制方法:
window.showModelessDialog("url","name","参数:值;参数:值;……")
url:对话框窗口链接地址
name:对话框的名称,可以为空
scroll:是否有滚动条,0表示无,非0表示有
status:是否有状态栏,0表示无,非0表示有
help:是否有问号,0表示无,非0表示有
resizable:是否可以用鼠标拖动改变框提大小,0表示不可以,非0表示可以
dialogWidth:对话框宽度值
dialogHeight:对话框高度值
window.showModelessDialog("
http://www.joekoe.net/,"dialogwin
",
"scroll:0;status:0;help:1;resizable:1;dialogWidth:480px;
dialogHeight:320px")
iframe参数说明
marginwidth:网页中内容在表格右侧的预留宽度;例如:marginwidth="20",单位是pix,下同。
marginheight:网页中内容在表格顶部预留的高度;
hspace:网页右上角的的横坐标;
vspace:网页右上角的纵坐标;
frameborder:是否显示边缘;填"1"表示"是",填"0"表示"否"
scrolling:是否出现滚动条;填"1"表示"是",填"0"表示"否"
Reply all
Reply to author
Forward
0 new messages