title: revolution slider custom function trigger
body: <p>I don't know JQuery but I can do basic JavaScript. I need to trigger and control a layer in Revolution Slider.
  Below is the Event handler function provided by the slider. </p>
  
  <pre><code>revapi18.bind("revolution.slide.layeraction",function (e) {
  //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage)
  //data.layertype - Layer Type (image,video,html)
  //data.layersettings - Default Settings for Layer
  //data.layer - Layer as jQuery Object
  });
  </code></pre>
  
  <p>How can I have an alert message to pop up when the layer has left the stage (leavestage)</p>