社区
JavaScript
帖子详情
请问window.open能不能带target参数?
kellygu
2002-09-25 05:54:16
如果不能带的话,当我第二次使用WINDOW.OPEN时该怎么办?
...全文
200
4
打赏
收藏
请问window.open能不能带target参数?
如果不能带的话,当我第二次使用WINDOW.OPEN时该怎么办?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
meizz
2002-09-25
打赏
举报
回复
window.open(URL,targetWindowName,参数);
上面这句语句里有一个targetWindowName,若你以一个名字新开了一个窗口,又用window.open一个新窗口的话,若targetWindowName相同则不会另开新窗口了,而是继续在原来那个targetWindowName窗口里打开新网页.
潇洒
2002-09-25
打赏
举报
回复
不带 target 参数打开新窗口.
那带了target 的window.open 能指向一个 frame 么?
qiushuiwuhen
2002-09-25
打赏
举报
回复
可能不带,不带打开新窗口
dylanOK
2002-09-25
打赏
举报
回复
of course!
open(yourURL,targetWinName,parameters);
window.open
()实现post传递
参数
本文主要向大家介绍了如何使用
window.open
()实现post传递
参数
的方法,思路是参考的一位网友的,然后根据自己的项目需求做了些调整,这里同样分享给大家,希望对大家能够有所帮助。
g++ for windows
Installing c++/g++ on Windows Disclaimer: This page is being maintained mainly for my students. Use these instructions at your own risk. There is no warranty in any form or shape whatsoever!. There is no guarantee that these instructions are up-to-date. With that understood you may continue with the rest of this page if you choose to accept these terms. This page was last updated on September 13, 2005, but still good as of April 30, 2009. Follow these steps to install g++ (the GNU C++ compiler) for Windows. There is no room for creativity here; you must follow the directions exactly. Pick the drive and a folder in which you want to install g++. I'll assume that it is C:, but you can choose a different one. If you choose a different drive or a different folder, you'll need to adapt the directions below accordingly. Download full.exe, an about 14 megabyte executable, to C:\full.exe by right-clicking on the link. Use Save Link As... or Save
Target
As... Be sure the browser saves the file as C:\full.exe. Run the downloaded executable. This will install g++ (and a lot of other things that you don't really need) on your hard drive. Go to the C: drive using Windows Explorer and double-click on full.exe. Or, open a DOS window (Start > Programs > Command Prompt), connect to the C: drive using the cd command, and type full. Locate where the bin folder was created for the g++ installation. On my Windows XP machine, it was created in the following path: C:\cygnus\cygwin-b20\H-i586-cygwin32\bin You now should add it to the PATH environment variable. You do that by following: Start -> Control Panel -> System -> Advanced -> Environment Variables At this point you can see the PATH variable either in the User Variables or in the System Variables. Add the g++ path into the PATH variable. You add it to the end of the existing value separated by a semicolon (';'). Make sure that you do not lose the original value. You are just appending more to the end separated by a semicolon. Restart your computer. A Cygnus Solutions entry will appear in your Programs menu, and an icon may appear on your desktop. Don't use them! You will use it using the g++ command on a DOS prompt as explained below. You should now be able to run g++ from a DOS (Command Prompt) window. For example, to compile a file called C:\mine\hello.cpp, connect to the C:\mine folder and enter g++ -g hello.cpp -o hello -lm You'll then be able to run the compiled program by entering hello in the DOS window. If you've installed Emacs as described here, you will also be able to run g++ from Emacs. If, when you do this, Emacs tries to compile with the command make -k, you made a mistake during the Emacs installation. If you want to learn how to run g++ on emacs, see here. If you'd like to learn more about where this free compiler came from, we downloaded it from an older site of http://sourceware.org/cygwin/. If you wish to clean up a little, you may delete the file: full.exe at this point. Your g++ compiler is installed under C:\cygnus.
window.open
()
target
方法
window.open
() 函数是三个
参数
window.open
(url,name,param) url是打开的地址 name是窗口标识名称 param是打开窗口的一些
参数
<script language="javascript"> function open1(){
window.open
('buy.htm','Leftd');//Leftd是
target
的名字 } <...
父页面在新打开页面
window.open
(‘
target
’,‘_blank‘)时,向子页面传
参数
(传的是父亲的
参数
)
1、小数据不包含中文啥的,可以放在url
参数
中传输的 父页面js: var cc=4;
window.open
(‘
target
?con=’+cc,'_blank') 子页面
target
.html window.location.search得到(?con=4)这个字符串,如何获取4,你自己随便吧。split,substring都可以 2、大数据包含...
window.open
用法详解
目录一、
window.open
1. 基本语法 本文主要分两部分。第一部分详细介绍
window.open
的详细用法,包括它的基本语法、使用说明等。第二部分由
window.open
引出,我们将介绍当存在多个页面相互关联时,页面之间的通信问题。 一、
window.open
1. 基本语法 ...
JavaScript
87,996
社区成员
224,693
社区内容
发帖
与我相关
我的任务
JavaScript
Web 开发 JavaScript
复制链接
扫一扫
分享
社区描述
Web 开发 JavaScript
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章