Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Design

This chapter is from the book

Creating Buttons

Buttons are more powerful than simple hyperlinks. Buttons contain the code that can send you to destinations, flip pages, open Web pages, play movies, show and hide other buttons, and other tricks.

You use the Buttons and Forms panel to create and apply actions to Buttons.

To view the Buttons and Forms panel:

Choose Window > Interactive > Buttons and Forms to open the Buttons and Forms panel squ_d.jpg.

423fig01.jpg

squ_d.jpg The Buttons and Forms panel for a selected button.

To create and name a button:

  1. Select an object. Any object, except media files, can be used as a button.
  2. Choose Object > Interactive > Convert to Button or click the Convert Object to Button icon in the Buttons and Forms panel squ_e.jpg. The object displays the button icon squ_f.jpg.
    423fig02.jpg

    squ_e.jpg The Convert Object to Button icon at the bottom of the Buttons and Forms panel.

    423fig03.jpg

    squ_f.jpg The Button icon appears inside an object that has been converted into a button.

  3. Use the Name field in the Buttons and Forms panel to change the default name to something more descriptive.

If you need to, you can remove the button properties from an object.

To remove the button properties:

  1. Select the button object.
  2. Choose Object > Interactive > Convert to Object or click the Convert Button to Object icon in the Buttons and Forms panel squ_g.jpg.
423fig04.jpg

squ_g.jpg The Convert Button to Object icon at the bottom of the Buttons and Forms panel.

A button without an action is like a light switch that’s not connected to a lamp. You can click the button all you want, but nothing’s going to happen. There are two parts to setting actions. First you choose the type of event that will prompt the action.

To choose the event for a button action:

Use the Event menu to choose what type of mouse or keyboard action should prompt the button to perform the action squ_a.jpg.

  • On Release or Tap applies an action under two circumstances: when the mouse button is released after a click or when a tablet screen is tapped.
  • On Click applies an action as the mouse button is pressed down.
  • On Roll Over applies an action when the mouse cursor is moved over the button’s bounding box.
  • On Roll Off applies an action when the mouse cursor is moved away from the button’s bounding box.
  • On Focus (PDF) applies an action when the button is prompted by the Tab key. This event only works for buttons in PDF documents.
  • On Blur (PDF) applies an action when the Tab key takes the focus off the button. This event only works for buttons in PDF documents.
424fig01.jpg

squ_a.jpg Use the Event list to choose which mouse actions will prompt a button action.

Once you have chosen the mouse event, you then choose the action that follows the event.

To choose the action for a button event:

  1. Click the Add New Action icon from the Actions area of the Buttons and Forms panel squ_b.jpg. This displays the Actions menu squ_c.jpg.
    425fig01.jpg

    squ_b.jpg The Actions area displays the actions for each mouse event.

    425fig02.jpg

    squ_c.jpg The Actions menu in the Buttons and Forms panel.

  2. Choose the action that you want to apply. The action appears in the Actions area of the Buttons and Forms panel.
  3. Depending on the action, additional controls may appear in the Buttons and Forms panel. Set those controls as necessary.
  4. If desired, you can apply more actions to the button by repeating steps 1–3.

To delete the action for a button event:

  1. Select the action in the Actions area.
  2. Click the Delete Action icon.

If you have multiple actions for an event, the actions are applied in the order that they appear in the list. You can change this order of how the actions are applied.

To change the position of an action:

Drag the action up or down in the Actions list.

One of the benefits to working with buttons is the ability to change the appearance so that the button itself responds to the actions of the user. When you create a button, it only has one appearance called the Normal state. You need to create new appearances for the Rollover and Click button states.

To set the appearances of a button:

  1. Select the button. Unless you have already modified it, only the [Normal] state is active in the Buttons and Forms panel squ_a.jpg.
    426fig01.jpg

    squ_a.jpg The States in the Buttons and Forms panel.

  2. Click the [Rollover] state listing in the Buttons and Forms panel. This activates the state.
  3. Click the [Click] state listing in the Buttons and Forms panel. This activates the state.

To make changes to each appearance state:

  1. Select the button you want to modify.
  2. In the Buttons and Forms panel, select the state that you want to modify.
  3. Use any of InDesign’s styling features to add a fill, stroke, or effect to the object. Use the Type tool to insert text as a label. You can also insert different images for each state.

To delete button states:

  1. Select the state you want to delete.
  2. Click the Delete State icon squ_b.jpg.
426fig02.jpg

squ_b.jpg The Delete State icon in the Buttons and Forms panel.

Instead of deleting states, which tosses out their content, it may be better to change whether or not the state is exported.

To change the visibility of a state:

Click the eyeball next to the name of the state. If the eyeball is visible, it means the state is enabled and will export. If the eyeball is not visible, it means the state is disabled and will not export.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about Peachpit products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites; develop new products and services; conduct educational research; and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email ask@peachpit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by Adobe Press. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.peachpit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020