关于窗口的问题

windowsDNA 2003-09-04 01:55:51
我想将某个页面的查询结果提交到一个新窗口A中。A必须浮动在当前窗口之上,但也能同时使下面的窗口获的焦点。
类似于Dreamweaver中的edit-->find and replace 打开的功能窗口

如何实现?谢谢。
...全文
56 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhaoweiwei 2003-09-04
  • 打赏
  • 举报
回复
<html>

<head>

</head>

<body>

<form name="f1" method="POST" action="">
<p>
<input type="text" name="t1" size="20"></p>
<p><input type="text" name="t2" size="20"></p>
<p><input type="text" name="t3" size="20"></p>
<p><input type="text" name="t4" size="20"></p>
<input type="button" name="b1" onclick="window.open('1.htm','','width=300,height=400')">
</form>

</body>

</html>

----------------------------------------

<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 2</title>
<script>
function cc()
{
f2.t5.value=opener.f1.t1.value
opener.focus()
}
</script>
</head>

<body onload="cc()">

<form name="f2" method="POST" action="">
<p>
<input type="text" name="t5" size="20" value=""></p>

</form>

</body>

</html>
windowsDNA 2003-09-04
  • 打赏
  • 举报
回复
多谢大家了。我解决了。
anglecupid 2003-09-04
  • 打赏
  • 举报
回复
关注……
ajsword 2003-09-04
  • 打赏
  • 举报
回复
http://www.csdn.net/Develop/Read_Article.asp?Id=15113

应该可以解决问题
hrong 2003-09-04
  • 打赏
  • 举报
回复
showModelessDialog('ttt.htm','','dialogWidth: 480px; DialogHeight: 360px; status: no; help: no');

87,910

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧