gcapp
10-29-2002, 08:57 PM
I was wondering if it is possible to have a new window open from a new window that already opened??
I have this code to make an initial window, call it window 1, open when you click the link:
<tr>
<td width="33%"><font face="Verdana" size="2"><a href="javascript:void(0)" onclick="window.open('hunting.asp', 'winMenu', 'width=500,height=250,location=1,menubar=1,resizab
le=1,scrollbars=1,status=1,toolbar=1' )">Hunting/Fishing</a></font></td>
<td width="33%"></td>
</tr>
This produces a new window, call it window 1, and when I try to click on the link in window 1 to get a new window again, call it window 2, nothing happens.
Here is the code in window 1:
If rsMembers("Information") <> "" Then
%><br><a href="javascript:void()" onclick="window.open('<%=rsMembers("Information")%>', 'winMenu', 'width=600,height=400,location=1,menubar=1,resizab
le=1,scrollbars=1,status=1,toolbar=1' )">Golf Course Details</a><%
End If
So I wondered what the code would be in window 1 that would produce another new window?? If you can do that.
I have this code to make an initial window, call it window 1, open when you click the link:
<tr>
<td width="33%"><font face="Verdana" size="2"><a href="javascript:void(0)" onclick="window.open('hunting.asp', 'winMenu', 'width=500,height=250,location=1,menubar=1,resizab
le=1,scrollbars=1,status=1,toolbar=1' )">Hunting/Fishing</a></font></td>
<td width="33%"></td>
</tr>
This produces a new window, call it window 1, and when I try to click on the link in window 1 to get a new window again, call it window 2, nothing happens.
Here is the code in window 1:
If rsMembers("Information") <> "" Then
%><br><a href="javascript:void()" onclick="window.open('<%=rsMembers("Information")%>', 'winMenu', 'width=600,height=400,location=1,menubar=1,resizab
le=1,scrollbars=1,status=1,toolbar=1' )">Golf Course Details</a><%
End If
So I wondered what the code would be in window 1 that would produce another new window?? If you can do that.