Please note, this is a STATIC archive of website www.themepunch.com from 28 Sep 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

API Example: Adding a Play/Pause Button

This article is now outdated!

For version 5.0+, this can now be easily achieved with Static Layers and Actions.

 

 

 

This example covers how you can add a “Play/Pause” button to the slider.

Click here for an alternative example for how this can be accomplished.

 

 

The post is a continuation of the the first API tutorial which can be found here:

https://www.themepunch.com/home/plugins/wordpress-plugins/revolution-slider-wordpress/api-tutorial/

 

This following code snippets include custom CSS and JavaScript.
The API methods used in this example are “revpause()” and “revresume()”.

 

Part One: CSS

 

Part Two: JAVASCRIPT

 

Click here to learn see where custom CSS and JavaScript can be added for your slider.