<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2722.900" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>I am not a php developer but this has to do with 
session management...&nbsp; you need to lookup how php handles 
sessions....&nbsp; this really wont be a JS dependent problem...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>~ Terry<BR>757 581-5981<BR>AIM/Yahoo: 
lv2bounce</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Patricia Calatayud" &lt;</FONT><A 
href="mailto:patricia.calatayud@itv-denkendorf.de"><FONT face=Arial 
size=2>patricia.calatayud@itv-denkendorf.de</FONT></A><FONT face=Arial 
size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>To: &lt;</FONT><A 
href="mailto:javascript@LaTech.edu"><FONT face=Arial 
size=2>javascript@LaTech.edu</FONT></A><FONT face=Arial size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>Sent: Monday, November 25, 2002 9:27 
AM</FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: [Javascript] Javascript and PHP: Open a 
new window</FONT></DIV></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial 
size=2>How can I open a new window from a php/html document and <BR>get that the 
terms in the new window are generated dynamically by <BR>php?<BR><BR>I have used 
the following, but it doesn´t work.<BR>&nbsp;<BR>In Normal php 
document:<BR>&lt;head&gt;<BR>&lt;script&gt;&lt;!--<BR>var newWindow = 
null;<BR>&nbsp;<BR>function 
openWindow(contentURL,windowName,windowWidth,windowHeight) {<BR>widthHeight = 
'height=' + windowHeight + ',width=' + windowWidth;<BR>newWindow = 
window.open(contentURL,windowName,widthHeight);<BR>newWindow.focus()<BR>} 
<BR>&nbsp;function closeWindow() {<BR>if (newWindow != null)&nbsp; { 
<BR>&nbsp;&nbsp; newWindow.close();<BR>&nbsp; newWindow = 
null;<BR>&nbsp;}<BR>&nbsp;}<BR>&nbsp;<BR>function 
toggleWindow(contentURL,windowName,windowWidth,windowHeight)<BR>&nbsp;{<BR>&nbsp; 
if (newWindow == null) {<BR>&nbsp;&nbsp; widthHeight = 'HEIGHT=' + windowHeight 
+ ',WIDTH=' + windowWidth;<BR>&nbsp;&nbsp; newWindow = 
window.open(contentURL,windowName,widthHeight);<BR>&nbsp;&nbsp; 
newWindow.focus()<BR>&nbsp; }<BR>&nbsp; else { 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
newWindow.close();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; newWindow = null;<BR>&nbsp; 
}<BR>&nbsp;}<BR>&nbsp;<BR>&nbsp;// --&gt;<BR>&nbsp;&lt;/script&gt; 
<BR>&nbsp;&lt;/head&gt;<BR>&nbsp;&lt;body onUnload="closeWindow()"&gt; 
<BR><BR><BR>&lt;a class="menu2" 
<BR>href="javascript:openWindow('newWindow.php','myNewWindow',150,50)"&gt;Obe<BR>rbegriffe 
und Unterbegriffe&lt;/a&gt; | <BR>&lt;a 
href="javascript:closeWindow()"&gt;Close&lt;/a&gt; |<BR>&lt;a 
<BR>href="javascript:toggleWindow('newWindow.php','myNewWindow',150,50)"&gt;T<BR>oggle&lt;/a&gt;<BR><BR>In 
new window document:<BR>&lt;head&gt;<BR>&lt;script&gt;<BR>funtion closeWindow() 
{<BR>self.close();<BR>}<BR>&lt;/script&gt;<BR><BR>&lt;/head&gt;<BR><BR>&lt;body 
onLoad="window.moveTo(100,100)" onUnload="opener.newWindow = 
<BR>null;"&gt;<BR><BR><BR>Is there a good book about PHP, Javascipt and 
DHTML?<BR>Thanks<BR><BR>_______________________________________________<BR>Javascript 
mailing list<BR></FONT><A href="mailto:Javascript@LaTech.edu"><FONT face=Arial 
size=2>Javascript@LaTech.edu</FONT></A><BR><A 
href="https://lists.LaTech.edu/mailman/listinfo/javascript"><FONT face=Arial 
size=2>https://lists.LaTech.edu/mailman/listinfo/javascript</FONT></A><BR></BODY></HTML>