链接打开新窗口
来源:互联网 发布:网络教育的收费标准 编辑:程序博客网 时间:2024/05/08 03:17
<a href="javascript:void(0)" onclick="window.open('helpflash.html','newwindow','height=530,width=780,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no, status=no')“>打开新窗口</a>
<a href="javascript:void(0)" onclick="window.showModalDialog('tools.jsp',null,'dialogWidth=600px;dialogHeight=500px')">弹框</a>
flash动画
<IFRAME id=sgnframe border=0 marginWidth=0 frameSpacing=0 marginHeight=0 src="images/helpflash.swf" frameBorder=0 scrolling=no width='100%' height="100%"></IFRAME>
window.showModalDialog()用于弹出模式窗口,并从弹出的窗口中获取返回值。在某些情况下,模式窗口是很有用的。
一、使用格式
ReturnValue = window.showModalDialog(sURL [, vArguments] [,sFeatures])
参数说明:
●sURL 为必选参数,用于指定要打开文档的URL
●vArguments为可选参数,用于向对话框传递参数(参数类型不限),对话框通过window.dialogArguments来取得传递进来的参数。
●sFeatures为可选参数,用于描述对话外观(这里是一系列属性,下面将描述这些属性)
二、属性
1、dialogHeight::对话框高度,不小于100px
2、dialogWidth: 对话框宽度。
3、dialogLeft:离屏幕左的距离。
4、dialogTop:离屏幕上的距离。
5、center:{ yes | no | 1 | 0 } :是否居中,默认yes,但仍可以指定高度和宽度。
6、help:{yes | no | 1 | 0 }: 是否显示帮助按钮,默认yes。
7、resizable:{yes | no | 1 | 0 } [IE5+]: 是否可被改变大小。默认no。
8、status:{yes | no | 1 | 0 } [IE5+]:是否显示状态栏。默认为yes[ Modeless]或no[Modal]。
9、scroll:{ yes | no | 1 | 0 | on | off }:是否显示滚动条。默认为yes。
- sharepoint 链接 打开新窗口
- 链接打开新窗口
- jquery 打开新窗口链接
- 在新窗口打开链接
- <a>链接打开新窗口
- sharepoint 在新窗口打开链接
- 点击链接新窗口打开页面
- webspec 在新窗口打开链接
- sharepoint 链接库链接在新窗口打开
- 打开新窗口链接的几种办法
- HTML: 点击链接时在新窗口打开
- 打开新窗口链接的几种办法
- 新窗口中打开链接的代码
- 在新窗口中打开链接的代码
- 网页所有链接在新窗口打开
- 使用 jQuery 在新窗口打开外部链接
- 在新窗口打开链接的使用
- 全站a链接新窗口打开
- Response下载文件,中文文件名乱码问题
- 基本排序算法的练习
- 如何去除PDF的水印?【9种方法总结】
- CRM上线之路 走上了CRM实施顾问-第71天上班 -第14周
- windows服务接收设备事件通知Device Event Notification
- 链接打开新窗口
- chartdir_java使用说明
- pos规范
- Centos6下查看slab信息
- 内核线程
- word “兼职”-----不单单是文字处理
- 学习socket nio 之 mina实例
- Visual studio using Zeranoe FFmpeg libs and dlls crashes in release mode.
- 四件在我步入职业软件开发生涯那天起就该知道的事情