Path: csiph.com!weretis.net!feeder8.news.weretis.net!news.mb-net.net!open-news-network.org!.POSTED.68.225.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: window open function Date: Wed, 23 Dec 2020 01:48:17 +0100 Organization: PointedEars Software (PES) Lines: 60 Message-ID: <1916018.oMNUckLgyt@PointedEars.de> References: Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit Injection-Info: gwaiyur.mb-net.net; posting-host="68.225.197.178.dynamic.wless.zhbmb00p-cgnat.res.cust.swisscom.ch:178.197.225.68"; logging-data="22949"; mail-complaints-to="abuse@open-news-network.org" User-Agent: KNode/4.14.10 Cancel-Lock: sha1:2RHhhotSF7U7ts2LQ5/wxgjfhTs= X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. 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 Not true: They can close the popup. > 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 This is how popups work now in some browsers. There is nothing you can do about it except not to use popups. > any ideas, bad syntax? thanks > > BTW the lines that has the ref is like so: > > border="0" height="106" width="110"> Never do this: Instead: You probably want to drop “index.html” as well: Then var htropen; function fenvir (uri) { htropen = window.open( uri, "displayEnvirWindow", "width=980,height=700,top=0,left=0,resizable,menubar,navbar,scrollbars"); } Note that modern browsers will block popups by default. -- PointedEars FAQ: | | Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.