Phonegap Build Example using the "window" object available in most webbrowser
This app uses W3 Schools as the reference.
https://www.w3schools.com/jsref/obj_window.asp
- innerHeight - Returns the height of the window's content area (viewport) including scrollbars
- innerWidth - Returns the width of a window's content area (viewport) including scrollbars
- outerHeight - Returns the height of the browser window, including toolbars/scrollbars
- outerWidth - Returns the width of the browser window, including toolbars/scrollbars
- alert() - Displays an alert box with a message and an OK button. Nothing is returned.
- confirm() - Displays a dialog box with a message and an OK and a Cancel button. The confirm() method returns true if the user clicked "OK", and false otherwise.
- prompt() Displays a dialog box that prompts the visitor for input. The prompt() method returns the input value if the user clicks "OK". If the user clicks "cancel" the method returns null.