logo       

Re: window.open: msg#00038

mozilla.devel.dom

Subject: Re: window.open



Maxime Thonon wrote:

how can i modify the command window.open() in the javascript engine of
mozilla. i want this command open the new target in the initial window,
not in a newone.

I don't think that window.open is implemented in the JavaScript engine, it is a method of the browser hosting the script engine. If you want to load a new page in the current window you can use
window.location.href = 'whatever.html';
or if you want to use window.open then use
window.open('whatever.html', '_self');

Crosspost and follow-up to netscape.public.mozilla.dom

--

Martin Honnen
http://JavaScript.FAQTs.com/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise