In a new window, print all the properties of the navigator object.
2:
Write a script that will display the name of your browser, the version, and the operating system you are using. (Use the parseInt() function to print just the version number.)
3:
Does your browser support Shockwave Flash? Write a JavaScript program to show whether the plug-in is installed.
4:
Create two links, one to open a new window and one to close it. The new window will display this message in a big font: The eye is the window to your soul. The new window will be positioned in the left-hand corner of your screen, will be resizable, have a scrollbar, and it will have the focus.
5:
Create an HTML document that contains four frames (i.e., four panes in a window, as in Figure 10.21). Each frame will display a different image. In another window, use JavaScript to display the number of frames in the original window and the name of the original window.
6:
Create a program that produces a page containing frames. The first frame will span across the top of the page and contain a centered heading entitled, A Virtual Zoo . A second frame will be used as a navigation bar at the left-hand side of the screen. It will contain links to five animals. When the user presses a link, an image of that animal will appear in a frame of its own to the right side of the navigation bar.
7:
In an alert dialog box, display the pixel height, width, and color depth of your screen. Each value will be separated by a newline.
8:
Create a program that will create a digital clock in the status bar. Use the setInterval() method to update the status bar once every minute with the current time.