Duration: 16 minutes
Summary: Here we continue our discussion of the window object by investigating the location and screen properties. We write two functions: one that prints the location information, and another one that prints the screen information. We print properties such as: host, href, port, protocol, search, availHeight, availLeft, availTop, availWidth, colorDepth, screen, height, pixelDepth, width. We can explore these properties in IE and FireFox to see which one is supported by which browser. Finally, we explored the history of the browser by calling the go function to go farward and backward.
Methodology of the development of example: coding based on international standards and sharing application in client / server.Technology Used: JavaScript – Core language Concepts
Keywords: JavaScript, HTML, window, location, host, href, port, protocol, search, availHeight, availLeft, availTop, availWidth, colorDepth, screen, height, pixelDepth, width.