This assignment asks you to create a page with at least two frames. The first frame should contain a submit button and a text box into which a visitor should type a URL. After the submit button is clicked, the second frame shows the web page called by the URL in the text box. In addition to providing a location box, the browser page in the solution uses Salon's image map to show various URLs in the display frame.

Because it uses frames, this assignment requires three HTML files: index.html, assignment-nav.html, and blank.html.

index.html

The first page, index.html, lays out the frameset.

<html><head><title>Chapter 10 Assignment</title></head> <frameset rows = "50%,*"> <frame src = "assignment-nav.html" name = "nav"> <frame src = "blank.html" ...

Get The Book of JavaScript, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.