• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

The Featured Book

When a visitor clicks on the link for the featured book, a new window measuring 640 pixels wide by 420 pixels high opens, and the Web page for the site’s featured book is loaded into it. This page contains only HTML, although you might want to add a little JavaScript that uses mouse events to display more detailed information about the book by opening a new window. You might also want to display a message that explains what the rating system is when the visitor moves the pointer over the graphic rating. This could be done using the ALT attribute of the <IMG> tag, by using JavaScript to open a new window, or by enabling the status bar and posting messages to it. The HTML statements that make up this page are listed here:

Figure 5.11. Because of its role as home page, a site’s index page is often one of the more lengthy and complex pages, involving heavy use of JavaScript.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint