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


Groups > comp.lang.javascript > #24985

Detect Browser full screen Or window.open

Date 2014-06-24 13:16 +1000
From Andrew Poulos <ap_prog@hotmail.com>
Newsgroups comp.lang.javascript
Subject Detect Browser full screen Or window.open
Message-ID <19Sdne2PPpukczXOnZ2dnUVZ_s2dnZ2d@westnet.com.au> (permalink)

Show all headers | View raw


It seems that window.open returns undefined (at least with Chrome on 
iOS) so I can't get an elearning lesson to send data to the opener page 
that communicates with the learning management system (LMS).

Given that iOS currently displays all web pages full screen, an option 
for me would be to (rather than open the lesson in a new window) to 
create an iframe (in the page that communicates with the LMS) and to 
open the lesson in it. Then the lesson can send data to top which 
communicates with the LMS.

My problem now is, how can I reliably tell either if window.open will 
not "work" or if the browser is always full screen?

Should I open a dummy page and wait for a few seconds to see if it talks 
to the opener? If it does then close the dummy page and open the lesson 
in a new window. If it doesn't then close the dummy page and open the 
lesson in an iframe.

Andrew Poulos

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


Thread

Detect Browser full screen Or window.open Andrew Poulos <ap_prog@hotmail.com> - 2014-06-24 13:16 +1000
  Re: Detect Browser full screen Or window.open "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-24 10:26 +0200
    Re: Detect Browser full screen Or window.open Andrew Poulos <ap_prog@hotmail.com> - 2014-06-24 18:48 +1000
      Re: Detect Browser full screen Or window.open "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-24 11:05 +0200
  Detect Browser full screen Or window.opener (was: Detect Browser full screen Or window.open) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-24 12:48 +0200
    Re: Detect Browser full screen Or window.opener Andrew Poulos <ap_prog@hotmail.com> - 2014-06-25 07:35 +1000
      Re: Detect Browser full screen Or window.opener Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-24 23:45 +0200
        Re: Detect Browser full screen Or window.opener Andrew Poulos <ap_prog@hotmail.com> - 2014-06-25 08:44 +1000
          Re: Detect Browser full screen Or window.opener Robert Heller <heller@deepsoft.com> - 2014-06-24 18:06 -0500
          Re: Detect Browser full screen Or window.opener Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-06-25 08:02 +0200

csiph-web