mikeadamek
Programmer
I am using window.open to open a bunch of different screen shots (.gif) in a smaller window and I want to be able to close that window with something else than the "x" button in the upper left corner.
My code is:
<BUTTON onclick="window.open('C:/Inetpub/ width=400, left=80, top=80');">VIEW</BUTTON>
The best thing for me would be to write some html with onclick="window.close()" in button format inside the window.open() so that the button appears right below my .gif. Is that possible? So far I haven't been able to find any sample code.
My code is:
<BUTTON onclick="window.open('C:/Inetpub/ width=400, left=80, top=80');">VIEW</BUTTON>
The best thing for me would be to write some html with onclick="window.close()" in button format inside the window.open() so that the button appears right below my .gif. Is that possible? So far I haven't been able to find any sample code.