Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: window open function Date: Mon, 21 Dec 2020 19:29:11 +0100 Lines: 22 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net bqytVytc3PNCDSQUaIXCJwhU1lY26u5CwAgkiNv6G0cQX/84RL Cancel-Lock: sha1:R8AyB3IU0coKPTVOfkidtylpmG8= In-Reply-To: Xref: csiph.com comp.lang.javascript:39284 bad sector: > when this function is called in one of my pages I get the > window but no menu, no navbar, no nothing so the reader > is unable to back out to the point of departure > > function fenvir(){htropen=open("envir/index.html", "displayEnvirWindow","width=980,height=700,top=0,left=0,resizable=yes,menubar=yes,navbar=yes,scrollbars=yes")} > > the width & height statements work, the window is resizable > and has a scroll bar if needed, but there is just a url window > that isn't even editable and no navbar or menubar The URL bar would be "location=yes". But you should avoid using this feature anyway, as not all browsers have windows - for example on mobile devices. Also users might be quite confused if a simple link will open a new window. Having a popup *inside* the page or a block which will inserted additionally below the link to show more details is the better solution in most cases. -- Arno Welzel https://arnowelzel.de