Ty'Zef wrote:

function scanOnload()
{
if(window.self == window.top)
var val = mafct();
}


The window variable always points to the window in which the function was declared. Also extension questions don't belong in these newsgroups, try netscape.public.dev.xul for your next question.

--
Warning: May contain traces of nuts.
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to