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

Home > Articles > Web Design & Development > Adobe Dreamweaver

  • Print
  • + Share This

Modifying the Feedback in the Action Manager

You are not stuck with the default functionality of a CourseBuilder interaction because you can change the code in the Action Manager. Each CourseBuilder Interaction can be changed to respond to learner inputs differently, display different feedback, and to trigger any of the behaviors installed in Dreamweaver. All this is accomplished in the Action Manager.

TIP

CourseBuilder gives each interaction a unique identifier by using the object attribute of the <interaction> tag. The identifiers appear as G01, G02, G03, and so on. Many of the elements involved with the interaction, such as layers and images, are named using the identifier. Never rename these objects or modify any CourseBuilder JavaScript code by hand because you will probably impair the interaction's functionality.

Open the CourseBuilder Interaction dialog box, using one of the three methods listed previously. To edit the Action Manager of an interaction, follow these steps:

  1. Select the General tab. Turn off the Tries limit and the Time limit by selecting Unlimited from the drop-down lists.

  2. Select the Action Manager tab. Because you removed the Tries limit and the Time limit, you can remove that code from the Action Manager. Although this step isn't required, it helps keep the Action Manager lean and easy to understand. Select the Segment: Check Time line, as shown in Figure 10.12, and click the Cut button at the top of the dialog box. Select the Segment: Check Tries line and again click the Cut button. Be sure you've selected the correct line because there is no undo command!

Figure 10.12 Delete segments of unnecessary code from the Action Manager using the Cut button. Careful! There is no undo command.

  1. In the Correctness segment, there are three expressions. The first expression is triggered if a correct answer is selected; the second expression, if an incorrect answer is selected; and the third expression, if an unknown response is selected. Because you defined all the potential responses, you will have no unknown responses, so you can select the --else if Unknown Response line and click the Cut button.

  2. Now you're left with the fundamental code that judges the correctness of the multiple-choice question. The default feedback for a correct or incorrect answer is a pop-up message.

    Select the Popup Message line under if Correct, click the Edit button on the left side of the dialog box, and enter a friendlier message as shown in Figure 10.13. Repeat for the Popup Message line under the else if Incorrect line.

Figure 10.13 You can edit the default Popup Message behavior in the Action Manager.

  1. Click the OK button to save your settings, and test the Web page in the browser. You should get the new text in the pop-up messages.

  • + Share This
  • 🔖 Save To Your Account

Related Resources

There are currently no related titles. Please check back later.