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

Chapter 11. Working with Behaviors > Hotspots and Slices

Hotspots and Slices

Slicing a document creates individual images when you export your document. Fireworks also allows for the creation of areas within a single slice to which you can attach behaviors. These areas of interactivity are called hotspots. An image map does not have to be multiple hotspots on one slice image. It can be generated from a single hotspot on a single image, or a single hotspot on a single slice, multiple hotspots on either a single image, or a single slice define multiple image maps.

There are many advantages to working with hotspots. Because a hotspot works as a trigger the same way a slice does, you can use it for rollover effects, links, and pop-up menus. Also, each slice requires a chunk of code to display it properly; multiple slices take longer to download than one image with multiple hotspots. Unlike slices, however, a hotspot cannot act as the object of an action. You cannot swap images within a defined hotspot. To decide between using slices and hotspots, consider the following:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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