[Blog] - API

How can I be sure the api of Slider Revolution is ready to use?
Right now I make my call in the custom js section of BeTheme Option but I get an undefined error.

Comments

  • Could you be more specific? We do not use any revolution api and don't know what you mean exactly.
  • edited September 2016
    In the Slider Revolution interface, if I choose one of my slider and then select the Slider Settings tab, in the right we have some buttons. The last one is the API functions.
    They give some sample of code, by exemple "revapi5.revpause();".

    My problem is, if I use this code in the custom js part from BeTheme Options, I get an undefined error because revapi5 is not yet created. How can I , with this API, be sure my object is created before called him?
  • What you ask for, requires some files and theme customization what in reference to Item Support Policy is not allowed. So if you want to modify files and don't know how, you should speak with your web developer. Or if you don’t have any, we can give you contact to the guys who offer such service. This is not a standard functionality and using JS functions from plugin's API requires good coding skills because it's not just plain html or css.
  • I'm a developer.
    If it's not a standard functionality why can I see it in the Slider settings tab?
    I'll find a way.
  • If you will read the Item Support Policy link we have you above, you will understand that such customization are not included. The API you mean uses javascript functions and this requires futher investigation into files and javascript to find where the conflict might be.
  • Ok, I think it's because I'm more thinking I'm on a forum with a community, not just a forum for support.

    My question wasn't turned like "Hey, I've a problem, solve it, it's your job.", but like "Hey, I'm stuck with this, is anybody have a solution?" :)
  • Ok, we probably misunderstood it the. Sorry!
Sign In or Register to comment.