[REBOL] Re: close a internet explorer window with a button in an Internet explorer plugin...
From: e::lauret::gmail::com at: 17-Jun-2005 11:26
Thanks a lot, but i've found how to do it !
in the html page, you need the code:
*<HEAD>
<SCRIPT LANGUAGE="Javascript">
function evaluate(code) { return eval(code); }
</SCRIPT>
</HEAD>
*in the script, you need the code:
*rebol[]*
*fen: layout [*
*button "close" [*
*do-browser "self.close()"*
*]*
*]*
*view/options/title center-face fen*
*[ resize no-title ]*
*""*
You can test it at: http://lauretprod.web.ool.fr/close.htm