If you plan to export your Canvas X Draw document to the Web, you may want to add some interactive elements such as Dynamic Web buttons. Web buttons can lead visitors to another page within a site or link to a different URL altogether.
The Web Button tool opens the Web Buttons palette and places buttons in documents.
These buttons are called dynamic because they change their behavior, or state, according to the user’s actions. Dynamic Web buttons have a total of 3 states:
This is the default, or normal, state of the button. The mouse is not over the button area.
This is the state when the mouse is moved over the button area.
This is the state when the mouse clicks the button area.
When you create a button, you can use a separate object or image for each of the button’s states.
Dynamic Web buttons may also be referred to as rollovers.
All vector or text objects to be used as Web buttons must have a pen ink and fill ink. Objects that have the pen and fill inks set to none can’t be dragged into the Web Buttons palette.
Double-click the Web Button tool to open the Web Buttons palette.
Button state boxes
Drag the images, text objects, or vector objects into each state’s respective box.
Remember that the Up state is the default state.
If you’ve defined all 3 states, you’ll see the Over state when the mouse passes over the box. Click the mouse on the box to see the Down state.
Drag the defined button from the Preview box to this box. (See To Store a Web Button detailed below.)
Web Buttons palette menu
You can drag objects into the boxes in any order.
Drag the completed button from the Preview box to the Storage box.
Drag the button you want to delete to the trash can icon in the palette.
Drag the object from the Up, Over, or Down box into the document. Modify the object and drag it back into its respective box. Store the updated button and place a copy in your document.
You can’t edit a button’s attributes, such as pen ink, fill ink, and stroke.
Before storing a new button, test it in the Web Buttons palette. (See Web Buttons Palette.) As indicated previously, the Up state is the default state. (See Understanding the Button States.) Move the cursor over the Preview box to see the Over state and then click to see the Down state.
If you’ve already placed the Web button but want to see their appearance before exporting to HTML, use the Play feature on the Web Buttons palette.
Don’t work in Canvas X Draw while play mode is active. Click End Play Mode before starting other work.
Click the Start Play Mode button and the placed Web buttons go into play mode. Move the cursor over the buttons and click them to see the 3 states. When you finish, click End Play Mode.
Use this procedure to place Web buttons in a Canvas X Draw document.
If you want to place multiple copies of the same button, use this procedure once, and then see To Place Additional Web Buttons detailed below.
When the Web Buttons palette is closed, you can use the Web Button tool to place the last selected button.
To place copies of the same button, use the Web button tool again or select the first button and choose Edit | Duplicate to create duplicates.
Select the placed Web button and drag a handle to resize its bounding rectangle.
Use the Link Manager palette to link buttons to other HTML files or URLs. (See Using the Link Manager Palette.)
When you save a Web button in the palette, it’s available in all Canvas X Draw documents.
Save the Web buttons on the network so your co-workers can use them as well.
Choose Clear Buttons from the palette’s pop-up menu.
When you load a Web button file, the buttons currently in the palette are replaced by the button file. If you don’t want to lose the current buttons, you should save the current buttons in a button file. (See To Save Buttons detailed above.)
When you append a button file, the current buttons are not replaced. Instead, the buttons in the file are added to the end of the palette.
Choose Load Buttons in the menu. Select a button file and click Open.