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

Chapter 2. Image Rollovers > Project III: Random Banner Ad Rotator Script

Project III: Random Banner Ad Rotator Script

Word of your skills with JavaScript and images has spread to the marketing department, and they have tracked you down for a project that is near and dear to their hearts. Currently on the site, at the top of every secondary page, there is a little banner advertisement for one of the company's products that, if clicked, will take the user to the store section of the site (see Figure 2-5). The way it is set up now is that if they want to have different products showing up, they need to hardcode which product banner goes on a specific page. Because it's quite a hassle to keep track of multiple images and which page they show up on, up until now they have settled for having just a single product banner throughout the site. After seeing what you've done on the site, they're hoping that you can give them the ability to have multiple banners up on the site, so they can showcase a broader range of products. You've given it some thought and looked around on the Internet for similar functionality on other sites, and it looks as if you've come up with a good idea.

Figure 2-5. Secondary page with product banner.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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