B
bb98
I am creating a popup in javascript using the following script... it
reveals itself by the show() method. It sends it away by clicking
somewhere outside the popup window.....
var oPopup = window.createPopup();
var oPopupBody = oPopup.document.body;
oPopupBody.style.backgroundCol... = "magenta";
oPopupBody.style.border = "solid blue 3px";
oPopupBody.innerHTML = "Click outside <B>popup</B> to close.";
oPopup.show(300, 80, 200, 50, document.body);
but now I want to send it away from a particular action ... e.g.
oPopupBody.innerHTML = "<a href=".....">Click here to close the
popup";
what command do I use? - .hide? .close ? what is it?
reveals itself by the show() method. It sends it away by clicking
somewhere outside the popup window.....
var oPopup = window.createPopup();
var oPopupBody = oPopup.document.body;
oPopupBody.style.backgroundCol... = "magenta";
oPopupBody.style.border = "solid blue 3px";
oPopupBody.innerHTML = "Click outside <B>popup</B> to close.";
oPopup.show(300, 80, 200, 50, document.body);
but now I want to send it away from a particular action ... e.g.
oPopupBody.innerHTML = "<a href=".....">Click here to close the
popup";
what command do I use? - .hide? .close ? what is it?