I have a form(1) that opens a popup(1) when a button is clicked. In that popup, the user can click a box with a minus(-) sign that should open another popup(2) which is smaller than popup(1). Problem is popup(2) opens in the same space as popup(1) and doesn't really popup at all. I'm using HTML and PHP along with the JS.
Button in form(1):
<input type="button" value=" Parts List " href="modelpartlist.html" onclick="window.open(this.href, 'popupwindow', 'width=760,height=600,scrollbars,resizable');">
Text to cause popup(1) to popup(2):
<td width="5" height="17" bgcolor="#CCE7FD">
<input type="button" value=" --- " href="doEquipPart.html?part=<? echo $line[Part]; ?>"
onclick="window.open(this.href, 'popupwindow', 'width=350,height=120,scrollbars=no,resizable=no'); return false" style="font-size: 8pt"></td></table>
There is an additional problem in that the 'RETURN' button I have on popup(2) does 'window.close' but it exits popup(2) and popup(1) returning all the way back to form(1). Maybe it's due to popup(2) not functioning properly?
Thanks to everyone for their help.
Scott
Button in form(1):
<input type="button" value=" Parts List " href="modelpartlist.html" onclick="window.open(this.href, 'popupwindow', 'width=760,height=600,scrollbars,resizable');">
Text to cause popup(1) to popup(2):
<td width="5" height="17" bgcolor="#CCE7FD">
<input type="button" value=" --- " href="doEquipPart.html?part=<? echo $line[Part]; ?>"
onclick="window.open(this.href, 'popupwindow', 'width=350,height=120,scrollbars=no,resizable=no'); return false" style="font-size: 8pt"></td></table>
There is an additional problem in that the 'RETURN' button I have on popup(2) does 'window.close' but it exits popup(2) and popup(1) returning all the way back to form(1). Maybe it's due to popup(2) not functioning properly?
Thanks to everyone for their help.
Scott