Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #39284

Re: window open function

From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.javascript
Subject Re: window open function
Date 2020-12-21 19:29 +0100
Message-ID <i4c7rnF337tU1@mid.individual.net> (permalink)
References <K5SdnQxG8J9iLULCnZ2dnUU7-UHNnZ2d@giganews.com>

Show all headers | View raw


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

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

window open function bad sector <forgetski@postit_INVALID_.gov> - 2020-12-20 15:15 -0500
  Re: window open function bad sector <forgetski@postit_INVALID_.gov> - 2020-12-20 19:01 -0500
  Re: window open function Julio Di Egidio <julio@diegidio.name> - 2020-12-20 18:16 -0800
    Re: window open function bad sector <forgetski@postit_INVALID_.gov> - 2020-12-21 22:54 -0500
  Re: window open function bad sector <forgetski@postit_INVALID_.gov> - 2020-12-20 21:41 -0500
    Re: window open function bad sector <forgetski@postit_INVALID_.gov> - 2020-12-20 21:55 -0500
      Re: window open function "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2020-12-25 10:10 -0800
        Re: window open function bad sector <forgetski@postit_INVALID_.gov> - 2020-12-25 13:45 -0500
    Re: window open function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-12-23 01:49 +0100
      Re: window open function Javier <invalid@invalid.invalid> - 2020-12-23 14:29 -0600
        Re: window open function Arno Welzel <usenet@arnowelzel.de> - 2020-12-24 18:00 +0100
  Re: window open function Arno Welzel <usenet@arnowelzel.de> - 2020-12-21 19:29 +0100
    Re: window open function bad sector <forgetski@postit_INVALID_.gov> - 2020-12-21 15:28 -0500
    Re: window open function Julio Di Egidio <julio@diegidio.name> - 2020-12-21 18:04 -0800
      Re: window open function Arno Welzel <usenet@arnowelzel.de> - 2020-12-24 18:02 +0100
  Re: window open function Kristjan Robam <jippii1291983@gmail.com> - 2020-12-22 09:21 -0800
    Re: window open function bad sector <forgetski@postit_INVALID_.gov> - 2020-12-22 16:59 -0500
  Re: window open function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-12-23 01:48 +0100
    Re: window open function bad sector <forgetski@postit_INVALID_.gov> - 2020-12-22 22:12 -0500
      Re: window open function Daniele <webmaster@appliserver.com> - 2020-12-23 12:18 +0100
      Re: window open function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-12-23 22:12 +0100
        Re: window open function bad sector <forgetski@postit_INVALID_.gov> - 2020-12-23 17:15 -0500
          Re: window open function Andrew Poulos <ap_prog@hotmail.com> - 2020-12-24 16:02 +1100
            Re: window open function bad sector <forgetski@postit_INVALID_.gov> - 2020-12-24 09:29 -0500
              Re: window open function Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2020-12-24 22:32 +0100

csiph-web