Raise the roof for raised events! (Ugh, that was horrible I know, but the best I could come up with!)

First, open AxurePreviousNextButtons.rp and open the "Previous/Next Links" master from the Masters pane.

 

This opens the master for editing in the design area.

Select the "<< PREVIOUS" widget in the design area and add a case to the OnClick event. This opens the Case Editor dialog.

© 2002-2016 Axure Software Solutions, Inc. All rights reserved. Axure is a registered trademark of Axure Software Solutions Inc.

u11_start u11_end u11_line

In the Case Editor, add the action to "Raise Event", located at the very bottom of the actions list.

In the far right pane, select the checkbox next to the OnPreviousClick event.

Open Page 2 from the Sitemap pane. We've already added the Previous / Next Link master to the page, so select the master in the design area. You'll notice OnPreviousClick appears in the Interactions tab, just like any other interaction event.

 

Add a case to the OnPreviousClick event to "Open Link" and choose Page 1.

Going back to the master, do the same thing on the Next link as we did with the Previous link. Add an OnClick case, add the Raise Event action and select the event called OnNextClick.

Return to Page 2, select the master in the design area, and add a case to the OnNextClick case to "Open Page 3 in Current Window".

 

If you add this master to other pages, you'll see that you can add different cases to the OnPreviousClick and OnNextClick events to perform different actions. And if you decide to change the look of the links or rename "Previous" to "Back", you'll only have to edit it once in the master!

DIFFERENT INTERACTIONS ON THE SAME MASTER

Step 1: Open Previous/Next Links master

Step 2: Add OnClick

case to Previous link

Step 3: Add action

to "Raise Event"

Step 4: Select raised event OnPreviousClick

Step 5: Open Page 2, add case to OnPreviousClick

Step 6: Add OnClick

case to Next link

Step 7: Open Page 2,

add case to OnNextClick

RAISED EVENTS TUTORIAL Previous/Next Link Master

u62_start u62_end u62_line
u64_start u64_end u64_line
u66_start u66_end u66_line
u68_start u68_end u68_line
u70_start u70_end u70_line
u72_start u72_end u72_line

Still need help? Check out the forum or drop us a line at support@axure.com.

THE ROUNDUP

DOWNLOAD

This is an archived Axure 7 training resource. You can update to Axure 8 for free at www.axure.com/update.