Page 162 - JavaScript
P. 162

Property                Description

          window.closed           Whether the window has been closed


          window.length           Number of <iframe> elements in window

          window.name             Gets or sets the name of the window


          window.innerHeight      Height of window


          window.innerWidth       Width of window

          window.screenX          X-coordinate of pointer, relative to top left corner of screen


          window.screenY          Y-coordinate of pointer, relative to top left corner of screen

          window.location         Current URL of window object (or local file path)


          window.history          Reference to history object for browser window or tab.


          window.screen           Reference to screen object

          window.pageXOffset      Distance document has been scrolled horizontally


          window.pageYOffset      Distance document has been scrolled vertically


        Read BOM (Browser Object Model) online: https://riptutorial.com/javascript/topic/3986/bom--
        browser-object-model-













































        https://riptutorial.com/                                                                             119
   157   158   159   160   161   162   163   164   165   166   167