tailieunhanh - Adobe GoLive 6.0- P13

Adobe GoLive P13: This book, as well as the software described in it, is furnished under license and may be used or copied only in accordance with the terms of such license. The content of this book is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies that may appear in this book | ADOBE GOLIVE 373 Classroom in a Book 4 Change the Floating Box pop-up menu that reads ACMEInfo to FOOZInfo. Remember that ACMEInfo and FOOZInfo are the names of the two More Info floating boxes. This will now display the proper information for the row. Choosing FOOZInfo from pop-up menu 5 Choose File Save. 6 Click the Show in Browser button in the upper right of the toolbar. The document appears in the Web browser that you specified in the GoLive Preferences dialog box. At this point in the lesson you can open the More Info box to reveal stock information but you can t close it. You ll add that action in the next section. 7 Close your browser. 374 LESSON 10 I Using Actions and JavaScript Adding actions to text links As you saw in your browser once a More Info box is opened there is no way to close it. You can fix this by adding mouse events to the close this text link already set up in the two More Info floating boxes ACMEInfo and FOOZInfo. If you look at the text link in the Inspector you ll notice that it s set as a link to the same technique that you used earlier with images so that you could assign actions to them. 1 In the Floating Boxes palette select ACMEInfo in the ID column to show the ACMEInfo floating box. Make the floating box visible and editable by clicking in the eye column. Selecting the floating box Selected floating box 2 In the document window drag to select the close this text. Be sure that you have the ACMEInfo ID selected in the Floating Boxes palette before you try to select the close this text in the document window. 3 In the Actions palette select the Mouse Click event and add two actions by clicking the New button a twice. 4 Select the first newly added None action and choose Others Scroll Left from the Action pop-up menu setting Scroll Pixels to 300 and Scroll Speed to 50. 5 Select the second None action and choose Multimedia ShowHide from the Action pop-up menu. ADOBE GOLIVE 375 Classroom in a Book 6 Set Floating Box to be the .