Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Creating a multi-purpose button

From: InDesign CS6: Interactive Documents

Video: Creating a multi-purpose button

Buttons are a key tool for creating interactive documents. One of the most useful things you can do with the button is to use it to show or hide buttons, including itself. By making self-hiding buttons, you can create something that looks like a single button that changes its appearance and changes other objects in your document. Let's see how it's done. So here I have a simple document with two sets of paintings. Set 1 at the top and Set 2 beneath, and what I want to do is create a button that I can click on to show Set 1 and then when Set 1 is displayed the button changes, so it says Show Set 2.

Creating a multi-purpose button

Buttons are a key tool for creating interactive documents. One of the most useful things you can do with the button is to use it to show or hide buttons, including itself. By making self-hiding buttons, you can create something that looks like a single button that changes its appearance and changes other objects in your document. Let's see how it's done. So here I have a simple document with two sets of paintings. Set 1 at the top and Set 2 beneath, and what I want to do is create a button that I can click on to show Set 1 and then when Set 1 is displayed the button changes, so it says Show Set 2.

And then if I click on it, it shows Set 2. I can't actually do this with one button, but I can create the same effect, nonetheless, just with two buttons in the same spot on the page. Each button will control the visibility of the art and itself. So to do this, we need to make buttons out of everything we want to show and hide. So I'll select the first group of art, go to my Buttons panel and make it a button. I'll call it Set 1, and I'll select Hidden Until Triggered. I'll do the same for the second set.

Make it a button, call this one Set 2 and Hidden Until Triggered, then I'll select the text frame, I'll copy it to my clipboard, and now with it still selected in the layout, I'll make it a button. I'll call this button set 1 trigger. Now I'll choose Edit > Paste in Place, so I paste that other copy of the text frame I just copied to my clipboard and I'll double-click to change the text, so it says Show Set 2. I'll press Escape to select the frame and I'll make it a button and call it set 2 trigger, and I'll set this one to be Hidden Until Triggered.

Now I'll Command+Click or Ctrl+Click to select the set 1 trigger button that's underneath the set 2 trigger. So I can see I have the right one selected up here, and I'll assign some Actions. I'll choose Show/Hide Buttons and Forms, and so the set 1 trigger is going to show set 1, hide set 2, hide the set 1 trigger, and show the set 2 trigger. Again, I'll Command+Click or Ctrl+Click, now I have the set 2 trigger button selected for the Action Show/Hide Buttons and Forms.

The set 2 trigger is going to show set 2, hide set 1, show the set 1 trigger and hide itself. Now let's preview. So I see the Show Set 1 button, I can click on it, it hides itself, shows the set 2 trigger, and it shows the set 1 art. Now let's click again, and the second set of art is shown and now I see the set 1 trigger again. So I can keep going back and forth if I want to. Another use for something like this would be a question and answer scenario; you could have two buttons that control the visibility of the answer and themselves.

When you need to control the visibility of objects on the page with buttons, remember that a button can also hide itself. So by positioning self-hiding buttons on top of one another, you can create what looks like a single button, but it's actually multiple buttons that toggles the visibility of other objects in the layout.

Show transcript

This video is part of

Image for InDesign CS6: Interactive Documents
InDesign CS6: Interactive Documents

73 video lessons · 26099 viewers

Mike Rankin
Author

 
Expand all | Collapse all
  1. 1m 45s
    1. Welcome
      1m 2s
    2. Using the exercise files and scripts
      43s
  2. 22m 41s
    1. Case study: tomaxxi's InDesign shortcuts guide
      4m 19s
    2. Case study: The Magic of Reality app
      3m 20s
    3. Exploring PDF digital magazines: InDesign Magazine
      2m 45s
    4. Looking at digital newspapers: BostonGlobe.com
      3m 44s
    5. Reviewing digital magazines: National Geographic
      4m 58s
    6. Exploring iamboundless.com
      3m 35s
  3. 21m 56s
    1. Setting preferences for interactive documents
      6m 32s
    2. Customizing the workspace
      5m 48s
    3. Understanding intent and presets
      3m 5s
    4. Working with images and swatches
      5m 2s
    5. Installing scripts
      1m 29s
  4. 37m 24s
    1. Using Liquid Layout
      9m 17s
    2. Creating alternate layouts
      4m 4s
    3. Using primary text frames
      3m 49s
    4. Using the Content Conveyor
      5m 42s
    5. Linking text
      4m 32s
    6. Linking page items
      3m 19s
    7. Fitting frames to content
      3m 33s
    8. Using style mapping
      3m 8s
  5. 49m 48s
    1. Reviewing what we're going to build
      1m 56s
    2. Previewing with the SWF Preview panel
      4m 51s
    3. Presentation design tips
      2m 41s
    4. Setting up a presentation file with layers
      4m 53s
    5. Creating a navigation system
      8m 32s
    6. Creating a title and content slides
      7m 57s
    7. Overriding master page items
      5m 59s
    8. Setting page transitions
      4m 34s
    9. Creating hyperlinks
      3m 40s
    10. Using the slug for notes
      4m 45s
  6. 37m 40s
    1. Understanding what we're going to build
      1m 11s
    2. Building an interactive table of contents
      5m 9s
    3. Building a navigation system
      4m 5s
    4. Creating PDF-only buttons
      3m 33s
    5. Using a SWF slideshow in a PDF
      9m 33s
    6. Placing a video and using the Media panel
      5m 44s
    7. Setting navigation points
      4m 28s
    8. Placing a video from a URL
      1m 21s
    9. Creating hyperlinks from URLs
      2m 36s
  7. 18m 6s
    1. An overview of PDF forms
      2m 6s
    2. Creating text fields and signature fields
      3m 13s
    3. Creating list boxes and combo boxes
      3m 55s
    4. Creating checkboxes and radio buttons
      3m 47s
    5. Creating tab order for PDF forms
      3m 14s
    6. Creating Submit, Print, and Clear Form actions
      1m 51s
  8. 53m 36s
    1. Exploring the Animation Encyclopedia script
      10m 57s
    2. Using the Animation panel
      6m 56s
    3. Animating on a motion path
      3m 57s
    4. Animating a list
      4m 29s
    5. Creating navigation buttons
      5m 15s
    6. Creating a multi-state object
      6m 23s
    7. Creating a page number indicator
      2m 57s
    8. Animating an opening page
      3m 9s
    9. Creating a multi-purpose button
      3m 11s
    10. Exporting your presentation and embedded fonts to SWF
      3m 46s
    11. Working with transitions and animation
      2m 36s
  9. 40m 34s
    1. An overview of the DPS workflow and the publishing process
      4m 31s
    2. Creating hyperlinks
      5m 17s
    3. Creating slideshows
      3m 25s
    4. Using the Image Sequence feature
      4m 58s
    5. Adding audio and video
      5m 6s
    6. Creating panoramas
      4m 21s
    7. Adding web content
      3m 56s
    8. Panning and zooming
      4m 1s
    9. Creating scrollable frames
      4m 59s
  10. 27m 18s
    1. Using the Folio Builder panel
      5m 28s
    2. Creating a folio
      5m 28s
    3. Adding articles to a folio
      5m 47s
    4. Using the Content Viewer to preview a folio
      3m 53s
    5. Using the Folio Producer
      4m 54s
    6. Viewing a folio on an iPad
      1m 48s
  11. 49s
    1. Next steps
      49s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
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.


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 Already a member? Log in

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 InDesign CS6: Interactive Documents.

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 preferences from 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.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

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.