IntersectionThe Intersection action is designed for use with the Idle or Condition action, which must reside in the head section as a browser-triggered event.The Intersection condition monitors the browser window for the physical intersection of two layers. It is true when the layers overlap in the browser window and false while they don't. You can use the result of this action to trigger two further actions. This action supplements the Drag Layer action (see Drag Layer). An intersection occurs when the paths of two layers cross. The Intersection action may be connected, for example, with a Set BackColor action. To set up an Intersection action, trigger the action with a browser-triggered action set to OnLoad. Choose Action > Specials > Idle or Condition. In the Condition or Idle tab of the Action Inspector, choose Action > Specials > Intersection. If you chose Idle and want the action to terminate the first time the Timeout Intersection condition is true, select the Exit Idle If Condition Returns True option. By activating this option, you instruct the script to monitor the browser window for a single event. Select the layers you want to monitor for the intersection from the two Layer pop-up menus. In the True tab, choose the action you want to have triggered when an intersection occurs. In the False tab, choose the action to be executed while the layers don't overlap. |