Notes linked to a page.
October 23, 2008 12:00 AM
Hi, Allen -I think there's a solution that might work for you using existing functionality...Create a page labeled something like "Notes Input Page" at the end of the course (I have an "invisible" chapter called "Non-Linear Pages" for stuff like this...). You'll probably want to make this page smaller than usual, since you'll be using it in a pop-up window. On the Notes Input page, create an Entry field (make sure to select "Multi-line" and increase the number of characters allowed to something more reasonable). This is where the user will type her notes. For the sake of this example, let's assume that this is the first Entry field in your course, so Lectora will call the variable for this Entry field "Entry_0001" by default.Create a Form (which, if it's the first form, Lectora will name "Form_1") and move the Entry field into the form.On the page level, create an action that resets the form, like this:On: ShowAction: Reset FormTarget: Form_1On the Notes Input page, create a button that says something like "Close."On the Close button, create an action that establishes a new "Notes" variable (Important: When you establish this new variable, you MUST select "Retain Value Between Sessions") and has the following settings:On: MouseClickAction: Modify VariableTarget: NotesValue: VAR(Entry_0001)Modification Type: Add to Variable.(What that's doing is, every time the user adds a note, it's appending whatever the new note is to whatever notes they've taken before.)Put another action on the Close button to close the window.Create an action on the Notes Input Page itself like this:OnCreate a button labeled something like "Make a Note" that you can put on the pages of your course.Create an action on the Make a Note button that goes to the Notes Input Page in a separate window.Create a page called something like "Notes Output Page." Again, like with the Notes Input Page, you might want to make this page smaller than the default, because you'll be using it a pop-up window. Put a text box on that page called something like "Notes Text" (you'll probably want the text box to take up most of the page). Optionally, you can also add a Close button that closes the page.Put an action on the page that does this:On: ShowAction: Change ContentsTarget: Notes TextNew Contents: NotesCreate a button labeled something like "Read Notes" that you can put on the pages of your course.Create an action on the Read a Note button that goes to the Notes Output Page in a separate window. Now, when the user clicks the Read a Note button, they should see a pop-up of the Notes Output window with the cumulative contents of all the notes they've made in the Notes Input Window's entry field. If you really want the entries to just be page-specific, you might need to make separate input and output pages for each course page OR you can probably use the built-in variables to "page stamp" each note that they make.This is just the basics for accomplishing what you're trying to accomplish...you'll need to play around (or make additional posts) to find ways to refine it to work exactly the way you'd like.Hope this helps!Laura
Discussions have been disabled for this post