• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Parent-Child Windows(Urgent)

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
Here is the example of Parent window:
<html>
<head>
<title>Testing to update values</title>
</head>
<SCRIPT LANGUAGE = JAVASCRIPT TYPE="TEXT/JAVASCRIPT">

newWindow = window.open('dim3.html','newWin', 'location =yes,scrollbars=yes,widht=600,height=600,right =600,left =600')
</script>
<body>
<CENTER>
<h1>Please Enter Value here</H1>
<FORM NAME="outputForm">
<INPUT TYPE=TEXT SIZE=20 NAME ="msgLine" VALUE="Hello There">
</FORM>
</CENTER>
</BODY>
</html>
Here is an example of child window:
<html>
<head>
<title>Testing to update values</title>
</head>
<body>
<SCRIPT LANGUAGE="JavaScript">
function updateValues(textfield){
ip_421_value.innerHTML = opener.document.outputForm.msgLine.value;
}
</SCRIPT>
<table border ="1">
<tr>
<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>
</tr>
<tr>
<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>
</tr>
<tr>
<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>
</tr>
<tr>
<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>
</tr>
</table>
<INPUT TYPE=BUTTON VALUE="Click me" NAME="BtnHello" OnClick="updateValues()">
</body>
</html>
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.
Thanks
Angela
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic