• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 2. Image Rollovers > Project II: Multiple Image Rollover Script

Project II: Multiple Image Rollover Script

It's that time of the year when the company puts out its annual report. This year the public relations department wants to make it available online. Most of it has already been posted, but there is one section that they could use a little help on. In the section of the report that deals with the sales figures, there is a set of graphs that compares sales over the last three years. The public relations department would like it if users could compare the charts for adjoining years. In other words, they want to be able to compare 1998 to 1999, and 1999 to 2000, and finally 2000 to 2001. After seeing the magic you've worked with the navigation rollovers, they wonder if you can set up this functionality with JavaScript rollovers instead of just laying out all of the graph comparisons in a huge page.

After some research and a little tinkering around with one of the designers, you think you have a way to give them what they are looking for, so you show them what you've worked out. Figure 2-3 shows what the page would look like before the user rolls over one of the year sets. Figure 2-4 shows what would happen if the user rolls over 2000–2001. They love the idea and tell you to get started on it.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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