New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Start learning with our library of video tutorials taught by experts. Get started

Illustrator CS5 for Web and Interactive Design
Illustration by

Creating hotspots with image maps


From:

Illustrator CS5 for Web and Interactive Design

with Mordy Golding

Video: Creating hotspots with image maps

So we've learned that we can use slices inside of Illustrator to actually kind of chop up a document into pieces, and have it so that you can assign URLs to each of those pieces, meaning that a user can go to a specific graphic or page and click on different parts of that page and be directed to different URLs. However, there may be times when you want to do that without having to actually slice up an image. Well, Illustrator has the ability to define we call hot spots. These are also referred to as image maps in HTML, and I want to show you how to set them up inside of Illustrator.
Expand all | Collapse all
  1. 6m 56s
    1. Welcome
      1m 33s
    2. Choosing Illustrator for web and interactive design
      2m 54s
    3. Illustrator and the web design workflow
      2m 7s
    4. Using the exercise files
      22s
  2. 40m 9s
    1. Pixel dimension vs. resolution
      4m 14s
    2. Pixel Preview mode and anti-aliasing
      5m 39s
    3. Taking charge of anti-aliasing
      5m 27s
    4. Choosing the right color management settings
      7m 25s
    5. Setting up important preferences
      6m 22s
    6. Setting up a workspace optimized for web design
      11m 2s
  3. 54m 5s
    1. Using the Web document profile
      3m 39s
    2. Creating custom document profiles
      9m 38s
    3. Using Illustrator's free web templates
      2m 33s
    4. Creating a sitemap or wireframe
      2m 50s
    5. Setting up an entire web site
      9m 33s
    6. Setting up a grid
      10m 37s
    7. Setting up an online ad campaign
      8m 13s
    8. Setting up icons for iOS
      2m 24s
    9. Setting up mobile content with Adobe Device Central
      4m 38s
  4. 32m 22s
    1. Understanding web-safe colors
      11m 50s
    2. Limiting the Color Guide to web-safe colors
      4m 53s
    3. Using Recolor Art to convert art to web-safe colors
      4m 54s
    4. Getting color inspiration from Adobe Kuler
      6m 48s
    5. Using Recolor Artwork to modify colors across a site
      3m 57s
  5. 56m 54s
    1. Using the Save for Web & Devices feature
      6m 44s
    2. Understanding the GIF file format and its settings
      10m 20s
    3. Understanding the JPEG file format and its settings
      7m 39s
    4. Understanding the PNG file format and its settings
      3m 21s
    5. Understanding the WBMP file format and its settings
      1m 18s
    6. Understanding the SWF file format and its settings
      4m 13s
    7. Understanding the SVG file format and its settings
      3m 41s
    8. Adjusting the dimensions of a graphic
      4m 46s
    9. Optimizing files to a specific file size
      4m 5s
    10. Modifying Save for Web & Devices output settings
      6m 51s
    11. Previewing content in Adobe Device Central
      3m 56s
  6. 56m 6s
    1. Setting point type in Illustrator
      4m 11s
    2. Setting area type in Illustrator
      5m 20s
    3. Formatting text quickly with paragraph styles
      14m 39s
    4. Overriding formatting with character styles
      3m 2s
    5. Controlling text anti-aliasing
      4m 50s
    6. Simulating the CSS box model
      11m 14s
    7. Adding cool reflections to text and graphics
      8m 26s
    8. Applying settings quickly with Graphic Styles
      4m 24s
  7. 35m 56s
    1. Understanding the concept of slicing
      3m 22s
    2. Creating slices manually
      4m 26s
    3. Creating slices from guides
      2m 45s
    4. Creating slices from objects
      7m 33s
    5. Understanding the different slice types
      4m 20s
    6. Applying settings to slices
      9m 20s
    7. Creating hotspots with image maps
      4m 10s
  8. 23m 35s
    1. Exporting static SWF files from Illustrator
      3m 35s
    2. Animated SWF: Converting Illustrator layers to SWF frames
      4m 3s
    3. Animated SWF: Using blends to define motion
      8m 35s
    4. Animated SWF: Adding static artwork to an animation
      3m 24s
    5. Animated SWF: Controlling time within an animation
      3m 58s
  9. 17m 13s
    1. Preserving slices and structure with PSD export
      6m 10s
    2. Working with Photoshop Smart Objects
      4m 35s
    3. Sharing color swatches between Illustrator and Photoshop
      2m 52s
    4. Generating an animated GIF file with Photoshop
      3m 36s
  10. 7m 28s
    1. Exporting HTML from Illustrator for use in Dreamweaver
      3m 31s
    2. Exporting CSS and DIVs from an Illustrator layout
      3m 57s
  11. 12m 37s
    1. Moving art between Illustrator and Fireworks
      6m 25s
    2. Using dynamic shapes from Fireworks
      3m 48s
    3. Sharing color swatches between Illustrator and Fireworks
      2m 24s
  12. 16m 7s
    1. Building files for use in Flash Catalyst
      4m 28s
    2. Creating a new Flash Catalyst project from an Illustrator file
      3m 40s
    3. Copying and pasting artwork between Illustrator and Flash Catalyst
      2m 4s
    4. Roundtrip editing between Illustrator and Flash Catalyst
      3m 36s
    5. Creating Flex skins for use in Flash Builder
      2m 19s
  13. 19m 48s
    1. Understanding symbols: The lifeblood of Flash
      4m 58s
    2. Symbols: Understanding 9-slice scaling
      4m 18s
    3. Setting text that will be used in Flash Professional
      3m 5s
    4. Moving artwork between Illustrator and Flash Professional
      7m 27s
  14. 1m 6s
    1. Goodbye
      1m 6s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Illustrator CS5 for Web and Interactive Design
6h 20m Intermediate Sep 24, 2010

Viewers: in countries Watching now:

In Illustrator CS5 Web and Interactive Design, Mordy Golding shows how to create pixel-perfect graphics for use in web sites, video compositions, and mobile apps. This course covers a wide range of workflows, from creating online ad campaigns, web sites, icons, to taking art from Illustrator to Flash Professional. Sharing tips, tricks, and creative techniques along the way, Mordy provides insight and instruction for taking projects from initial concept straight through to production. Exercise files accompany the course.

Topics include:
  • Getting perfectly sized pixel graphics from Illustrator
  • Setting up preferences in Illustrator for web design
  • Creating custom document profiles
  • Getting great color on the web
  • Understanding web graphic file formats (GIF, JPG, PNG, SWF, and SVG)
  • Setting great-looking type
  • Slicing artwork for various tasks
  • Creating Flash animations directly from Illustrator
  • Working with Photoshop Smart Objects
  • Exporting HTML and CSS from Illustrator
  • Integrating with Flash Catalyst
Subjects:
Web Web Graphics Interaction Design Prototyping Web Design
Software:
Illustrator
Author:
Mordy Golding

Creating hotspots with image maps

So we've learned that we can use slices inside of Illustrator to actually kind of chop up a document into pieces, and have it so that you can assign URLs to each of those pieces, meaning that a user can go to a specific graphic or page and click on different parts of that page and be directed to different URLs. However, there may be times when you want to do that without having to actually slice up an image. Well, Illustrator has the ability to define we call hot spots. These are also referred to as image maps in HTML, and I want to show you how to set them up inside of Illustrator.

It's actually pretty straightforward and easy to do, and even if you're not using HTML, as we'll see in a moment, they can still prove to be helpful. For example, I have some kind of a banner here, and I want to make it as that when you click on each of these different tours that you are directed to a certain URL. So, the first thing I'm going to do here inside of Illustrator is go up to my Window menu, and I'm going to choose to open up my Attributes panel. You know in the world of print, we use the Attributes panel to specify things like overprints. However, we can also use the Attributes panel to define these image maps.

I'm going to start by first selecting this object right here. It's actually a symbol, but I want this area, or the region defined by the symbol to be actually become some kind of a hot spot that I can click on. So inside the Attributes panel, since I've something selected, I can choose something here called Image Map. Now currently it's set to None, but I can click on the pop-up here and set this to be Rectangle. Now I need to just define what the URL is, in other words, where this person gets directed to when they click on that object or that area. So I'm going to type a web address here, just for simplicity sake here.

Let's just go to lynda.com. I can now click on another object here, and I could specify an image map for that also. I'm choosing rectangle here, by the way, but if the shape itself were not in the shape of a rectangle, I could choose Polygon, which will be great for circles, for example, or other nonrectangular shapes. But this case is pretty straightforward. So we're going to use rectangle and instead of having to type in the URL again, I can just click on a pop-up here and see any recent URL, or web addresses that I've typed into Illustrator. So I'm going to choose again lynda.com for this one and just for this one as well, just to save some time here.

I think you get the idea. Now I'm ready to test this, if I wanted to. Now there is a button over here called browser. This'll actually not test the graphic on my screen, but it will actually test to see if that URL is a working URL. So I want to make sure that I didn't have any typing mistakes, for example, I can click on the browser button that will launch, let's say in this case here with lynda.com. And if I go to page successfully, I know that I've entered the right URL. But for now I'm going to choose File > Save for Web & Devices, and I am going to choose to now preview this in a web browser.

Now it doesn't really make a difference what file format I save this image in; it could to be GIF or JPEG or PNG or anything for that matter. It's just the image that kind of lives on the web page itself. In the HTML though, if you scroll down over here to the bottom, you'll see that there are these maps that exist and area shapes that define certain coordinates that are hot spots, and the URLs were those we are actually going to. You'll notice if I move my cursor now over these images, I have the ability to click on them, and I'll be directed to the URL that I specified. Of course, in order for this to work, I need to supply the HTML and the image as well.

If I just sent somebody to GIF, for example - in this case here, it's being exported as a GIF file - it's not good enough, because the information for the hot spots exist inside the HTML. However, you can use the same methods that we just did now to define these hotspots for other file types also that can have these clickable regions stored inside of the image itself, and that's specifically for SWF and SVG files. So just to show you, if I closed this browser, and I must go back to Illustrator here for a second. If we choose to export this image as a SWF, I can also choose to preview this in a browser, and you can see that when I mouse over them, they are clickable regions as well.

Of course, I can send this SWF to anybody, and the URLs will work correctly, because they are now specified inside of the SWF itself. So if you're using SWF or SVG files this is a great method for defining hotspots. If you're using HTML, you can use the previous method that we tried. But ultimately, this is another way to find clickable regions in your artwork other than using slicing.

Find answers to the most frequently asked questions about Illustrator CS5 for Web and Interactive Design.


Expand all | Collapse all
please wait ...
Q: In the chapter 5 movie, "Simulating the CSS box model," the author details the CSS box, but names the inner portion the margin and the outer portion the padding. This is reversed from what I’ve have seen elsewhere. Is this an error in the video?
A: This video does indeed contain an error where the author describes the margin and padding. The padding should be described as the area inside the border, and the margin the area outside the border.
 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Illustrator CS5 for Web and Interactive Design.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.