- 1、本文档共14页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
java跳转弹窗(java跳转弹窗)
java跳转弹窗(java跳转弹窗)
script ; alert (会员注册成功); location.href =.. / main / index. php / td
top.location.href = right.htm
location.rightframename.href = lunwenguanli.asp
open (a.html , right ).
script language = javascript), alert (history.go 验证失败) (1) / td
写到 onclick = 里 或 script window. open (index. php, _ blank, height = 600, width = 960, toolbar = no, menubar = no, scrollbars = no, resizable = no, location = no, status = no, top 100, left = 300 ). / td
都可以
its
1. 在当前窗口打开百度, 并且使url地址出现在搜索栏中.
window. open (http: / / / / / / / / / / / / / / / / / / / / / , _ search).
window. open (http: / / / / / / / / / / / / / / / / / / / / / , _ self).
2. 在一个新的窗口打开百度
window. open (http: / / / / / / / / / / / / / / / / / / / / / , _ blank).
3. 并命名为 打开一个新的窗口, hello.
window. open (, hello).
window. open (page.html, newwindow, height = 100, width = 400, toolbar = no, menubar = no, scrollbars = no, resizable = no, location = no, status = no, top 100, left = 300)
另外, open函数的第二个参数还有几种选择.
top: 如果页面上有framesets _, 则url会取代framesets的最顶层, 即, 如果没有framesets, 则效果等同于 _ self.
_ parent: url所指向的页面加载到当前frame的父亲, 如果没有则效果等同于 _ self.
_ media: url所指向的页面加载到media bar所包含的html代码区域中.如果没有media bar则加到本身.
如果还要添加其它的东西在新的窗口上, 则需要第三个参数.
channelmode: yes | no | 1 | (窗口显示为剧场模式 包括工具栏等], [全屏幕显示当前网页, 一般显示 或频道模式 []).
directories: yes | no | 1 | (是否添加目录按钮, 比如在ie下可能会有一个 链接 这样的按钮在最上面出现)
fullscreen: yes | no | 1 | (使浏览器处理全屏幕模式, 并隐藏标题栏和菜单等)
menubar: yes | no | 1 | (是否显示浏览器默认的菜单栏)
resizeable: yes | no | 1 | (窗口是否可调整大小)
scrollbars: yes | no | 1 | (是否允许水平或垂直滑动条)
Titlebar: yes|no|1|0 (whether to add a title bar)
Toolbar: yes|no|1|0 (whether to add browser default toolbar)
Status: yes|no|1|0 (whether to display status bar)
Location: yes|no|1|0 (shows the search bar)
Height: the height of the window is 100 pixels minimum
Width: the width of the window. The minimum is W100 pixels
Left: the far left of the window relative to the screen
The last argument about the open function is about history, which is whether the window curre
您可能关注的文档
- coreldraw题库(coreldraw题库).doc
- 图表统计在应用问题教学中的尝试(The attempt of chart statistics in the teaching of applied problems).doc
- 图解系列(Graphic series).doc
- 圆的面积---邱子珍(The area of the circle --- Qiu Zizhen).doc
- 土壤污染(soil pollution).doc
- 土建施工员应该知道的数据(The data that the builder should know).doc
- 土建管理(Civil Engineering Management).doc
- 土楼(Tulou).doc
- 土豆的营养价值(The nutritional value of potatoes).doc
- 圣典(Canon).doc
文档评论(0)