This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Parent-Child Windows(Urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Parent-Child Windows(Urgent)" Watch "Parent-Child Windows(Urgent)" New topic

Parent-Child Windows(Urgent)

Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
Hi All,
Here is the example of Parent window:
<title>Testing to update values</title>

newWindow ='dim3.html','newWin', 'location =yes,scrollbars=yes,widht=600,height=600,right =600,left =600')
<h1>Please Enter Value here</H1>
<FORM NAME="outputForm">
<INPUT TYPE=TEXT SIZE=20 NAME ="msgLine" VALUE="Hello There">
Here is an example of child window:
<title>Testing to update values</title>
function updateValues(textfield){
ip_421_value.innerHTML = opener.document.outputForm.msgLine.value;
<table border ="1">
<td id = "printer_value"><div name="Printers">Printers</div></td>
<td id = "model_value"><div name="Models">Models</div></td>
<td id = "price_value"><div name="Price">Price</div></td>
<td id = "7040_value"><div name="7040">7040</div></td>
<td id = "ip_421_value"><div name="IP_421">IP-421</div></td>
<td id = "xxx_value"><div name="xxx">xxx</div></td>
<td id = "7050_value"><div name="7050">7050</div></td>
<td id = "IP-421J_value"><div name="IP-421J">IP-421J</div></td>
<td id = "yyy_value"><div name="yyy">yyy</div></td>
<td id = "7060_value"><div name="7060">7060</div></td>
<td id = "IP-601_value"><div name="IP-601">IP-601</div></td>
<td id = "zzz_value"><div name="zzz">zzz</div></td>
<INPUT TYPE=BUTTON VALUE="Click me" NAME="BtnHello" OnClick="updateValues()">
Now, when I opened Parent window, I want hide it somewhere in way that user can not see parent window & still It can open in background and I want to make child window maximize. So When u open parent window:
1) It should hide somewhere by minimizing size or any other way.
2) Child window must be maximized in a way so parent window can open in background but user can not see parent window.
How I can do resize in a way that above is possible?
Please let me know.
Don't get me started about those stupid light bulbs.
subject: Parent-Child Windows(Urgent)
jQuery in Action, 3rd edition