The system also includes control actions that can be used to create Image Rotator Magic 2 actions on links located anywhere on your page, or that can be used in by other scripts to control IRM2 actions.
Available Control Behavior Actions:
There are times when you may want to manually assigning a control action, either for use in external scripts or when building pages dynamically. The control action function call will look like this:
P7_IR2ctrl('p7IR2_1','play')
The HTML markup for a typical text link with a control action applied would look like this:
<a href="#" onclick="P7_IR2ctrl('p7IR2_1','play')">Play</a>
The available Control Actions are:
The Image Rotator Magic 2 -Control Actions interface allows you to select an action to apply.

The interface contains a listing of all of the Image Rotator widgets on your page. The list will display the ID of each widget. Select the Image Rotator you want to control.
Tip: If you are unsure about which widget relates to which ID, click the Cancel button and switch to Code View. In Code View, locate all IDs that begin with p7IR2. The opening DIV tag looks like this:
<div id="p7IR2_1" class="p7IR2-01 p7IR2 rounded shadow border-dark">
Select the action you want to apply.

This will display the First image.
This will display the image that comes before the currently displayed image.
This will Start or (resume) the Auto Play Mode.
This will Stop (or pause) the running Auto Play mode.
This will display the image that comes after the currently displayed image.
This will display the last image.
This allows you to select the exact image to be displayed by entering the Image Number.
This box is active only when the Open Image Number action is selected. Enter the number of the image you wish to display.
When you have made your selection, click the OK button to apply the behavior. By default the behavior will be applied to the onClick event of the text link or image. You can change the event by selecting the desired event in the Behaviors panel.
Click the Cancel button to completely abort the current operation. This will close the interface and no changes will be made to your page.
Click the Help button to open the associated Help File in your browser. This page can remain open for easy reference while you continue working with the Image Rotator Magic interface.
© Copyright 2014 Project Seven Development. All Rights Reserved.