|
Adobe GoLive CS2 Tips and Tricks The 250 Best Authors: Pratt A., Grillo L. Published year: 2005 Pages: 204-206/301 |
TIP 189: Copying and Pasting ActionsGoLive Actions are powerful, pre-built JavaScript functions that make it easy to create interesting, useful, and interactive effects in your Web pages. With GoLive you can copy and paste Actions from one link to another or from one event to another. For example, if you accidentally create an Action for the wrong event, just cut and paste the Action to the correct event. Also, if you create a sequence of complicated Actions, you can copy and paste all those Actions from one link to another!
To copy or cut an Action, select it in the Actions list (on the right side of the Actions palette) and then choose Edit > Copy or Edit > Cut. To paste the Action and all of its settings onto a new link, select the link and then in the Actions palette select an event from the list on the left. Now put your cursor into the Actions list and choose Edit > Paste ( Figure 189 ). Figure 189. Copy and paste Actions just like text.
|
TIP 190: Resetting the Actions MenuAs mentioned in the sidebar for tip 189, GoLive remembers the last six Actions you've used and lists them at the top of the Action pull-down menu. This helpful feature was added in GoLive CS as a convenient way to access the Actions you use most frequently instead of drilling down into the long submenus of Actions ( Figure 190a ). Figure 190a. GoLive remembers the last six Actions you've used in the Action pull-down menu.
This was a nice idea for GoLive CS, but a few flaws annoyed some users. For example, sometimes the list of recent Actions would get really long and even remember duplicate Actions. Another problem was that you couldn't clear out the list without deleting all the application preferences. The good news is the GoLive product team has improved this feature in GoLive CS2. To reset the recent Actions list, choose Reset Action Menu from the Actions palette flyout menu for that factory-fresh scent ( Figure 190b ). Figure 190b. Reset the Action list from the flyout menu.
|
TIP 191: Creating Forms
Forms are a great way to gather information and feedback (and maybe even orders) from your Web site's
visitors
. To create a form, start by dragging a form container
You must place the rest of your Form objects inside the form container for them to work properly. Adding a table inside the form container is generally a helpful way to organize and align all the form fields and their labels. There are more than a dozen different form elements you can use within GoLive. Here are descriptions of the items you'll use most frequently:
When you're done creating the form, select the form container again in the Layout Editor and give it a name in the Name/ID field in the Inspector ( Figure 191 ). You also need to set the form Action in the Inspector according to the instructions you receive from your hosting provider or system administrator. Set the Method to Post and you're pretty much done. Figure 191. Set the form's name, Action, and method in the Inspector palette.
|
|
Adobe GoLive CS2 Tips and Tricks The 250 Best Authors: Pratt A., Grillo L. Published year: 2005 Pages: 204-206/301 |