<!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... you need to lookup how php handles
sessions.... this really wont be a JS dependent problem...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Patricia Calatayud" <</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>></FONT></DIV>
<DIV><FONT face=Arial size=2>To: <</FONT><A
href="mailto:javascript@LaTech.edu"><FONT face=Arial
size=2>javascript@LaTech.edu</FONT></A><FONT face=Arial size=2>></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> <BR>In Normal php
document:<BR><head><BR><script><!--<BR>var newWindow =
null;<BR> <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> function closeWindow() {<BR>if (newWindow != null) {
<BR> newWindow.close();<BR> newWindow =
null;<BR> }<BR> }<BR> <BR>function
toggleWindow(contentURL,windowName,windowWidth,windowHeight)<BR> {<BR>
if (newWindow == null) {<BR> widthHeight = 'HEIGHT=' + windowHeight
+ ',WIDTH=' + windowWidth;<BR> newWindow =
window.open(contentURL,windowName,widthHeight);<BR>
newWindow.focus()<BR> }<BR> else {
<BR>
newWindow.close();<BR> newWindow = null;<BR>
}<BR> }<BR> <BR> // --><BR> </script>
<BR> </head><BR> <body onUnload="closeWindow()">
<BR><BR><BR><a class="menu2"
<BR>href="javascript:openWindow('newWindow.php','myNewWindow',150,50)">Obe<BR>rbegriffe
und Unterbegriffe</a> | <BR><a
href="javascript:closeWindow()">Close</a> |<BR><a
<BR>href="javascript:toggleWindow('newWindow.php','myNewWindow',150,50)">T<BR>oggle</a><BR><BR>In
new window document:<BR><head><BR><script><BR>funtion closeWindow()
{<BR>self.close();<BR>}<BR></script><BR><BR></head><BR><BR><body
onLoad="window.moveTo(100,100)" onUnload="opener.newWindow =
<BR>null;"><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>