I suspect this isnt too difficult to do, but Im afraid its beyond my limited skills and Id appreciate some advice.
All I want to do is pop up a small minimal web page window to keep on a corner of the desktop to monitor cctv.
Using Javascript I am able to generate the required popup but the trouble is the unwanted parent window still remains open after, and I cant find a way of closing the parent without a confirmation dialog popping up.
Is there a way to close the parent window without that confirmation dialog?
Or better still, is there a way to open a similar minimal bare-bones small popup directly without it having to be created by javascript from a parent window?
If not, is it perhaps possible to open the required monitor window directly as a normal window then modify all its relevent attributes afterwards (size, no scrollbars, no toolbar etc)?
Here is the existing code fragment to show how and what is being created by the parent using an on-click which passes...
href="javascript:pop(
http://popup.htm,500,400)"
to the following function...
SCRIPT language="JavaScript" type="text/javascript">
function pop(s1,x1,y1) {
nw = window.open(s1,"visiongs","width=" + x1 + ",height=" + y1 + ",scrollbars=no,scrolling=no,location=no,toolbar=no");
}
That works ok as I said, except for having to close that parent window after.
Thanks in advance for any assistance you may come up with.