Window.Open() 和 window.showModalDialog()参数
来源:互联网 发布:淘宝电费 编辑:程序博客网 时间:2024/04/30 12:39
<SCRIPT LANGUAGE="javascript"><!-- window.open ('page.html', 'newwindow', 'height=100, width=400, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no') //写成一行 --></script>
参数解释:
<SCRIPT LANGUAGE="javascript"> js脚本开始;
window.open 弹出新窗口的命令;
'page.html' 弹出窗口的文件名;
'newwindow' 弹出窗口的名字(不是文件名),非必须,可用空''代替;
height=100 窗口高度;
width=400 窗口宽度;
top=0 窗口距离屏幕上方的象素值;
left=0 窗口距离屏幕左侧的象素值;
toolbar=no 是否显示工具栏,yes为显示;
menubar,scrollbars 表示菜单栏和滚动栏。
resizable=no 是否允许改变窗口大小,yes为允许;
location=no 是否显示地址栏,yes为允许;
status=no 是否显示状态栏内的信息(通常是文件已经打开),yes为允许;
</SCRIPT>
window.showModalDialog()参数:
JavaScript:
window.showModalDialog('Ori_Photo.aspx','','resizable:yes;scroll:yes;status:no;dialogWidth=320px;dialogHeight=230px;center=yes;help=no');
- Window.Open() 和 window.showModalDialog()参数
- Window.Open() 和 window.showModalDialog()参数
- window.open 参数 和 showModalDialog() 和 window.showModalDialog()
- ie6与ie7 Window.Open() 和 window.showModalDialog()参数
- window.showModalDialog和window.open的参数区别
- window.showModalDialog 与window.open传递参数
- window.open()和window.showModalDialog()使用方法
- window.open和window.showModalDialog用法
- window.open和window.showModalDialog使用
- window.open和window.showModalDialog心得
- window窗体对象open()和showModalDialog()用法及其参数详解
- window.open、window.showModalDialog和window.showModelessDialog 的区别
- window.open、window.showModalDialog和window.showModelessDialog 的区别
- window.open、window.showModalDialog和window.showModelessDialog 的区别
- 用window.open代替window.showModalDialog和window.showModelessDialog
- window.open,window.showModalDialog用法
- window.showModalDialog() and window.open()
- window.open()变成window.showmodaldialog()
- SQL语句导入导出大全 (转载)
- Effective Java(2nd Edition) Item 58 受检查异常用作可恢复条件,运行时异常用作程序错误
- 查看Linux版本命令
- 简单json对象for asp
- 常见内存故障分析!!
- Window.Open() 和 window.showModalDialog()参数
- java的Collection和Map
- 将DELPHI数据库连接写进INI配置文件中
- 各类语言对文件的操作
- sbo中怎么不通过linkbutton跳出来指定的应付发票
- 电脑维修的基本方法!!
- python_文件与目录操作
- 关于wince telnet组件的一篇博客
- 解决href使用onclick方法时点击该链接的时候不会跳转页面.但是滚动条会往上滚的问题