Java Reference
In-Depth Information
page; instead of writing to a text area, the application should write the details to another frame.
Hint: use about:blank as the src of the frame you write to. Hint: use the document object's
close() and open() methods to clear the details frame from previously written data.
2.
The fourth example ( ch08.examp4.htm ) was a page with images of topics, in which clicking
on a book's image brought up information about that book in a pop-up window. Amend this
so that the pop-up window also has a button or link that, when clicked, adds the item to a shop-
ping basket. Also, on the main page, give the user some way of opening up a shopping basket
window with details of all the items they have purchased so far, and give them a way of delet-
ing items from this basket.
Search WWH ::




Custom Search