• Resolved relphi

    (@relphi)


    Hello,

    I am using Master Slider free version.

    I would create an external thematic button that allows internaute to view the slider show from a specific slide.

    So, I tried to use the slider api but I probably forgot something. Could you help me?

    <div>[masterslider id="1"]</div>
    <button id="theme2" type="button" click="function(t2)">O</button>
    <script  type="text/javascript">
      function(t2) {
            var slider = new MasterSlider("MasterSlider")
            $("#theme2").click(function(){
            slider.api.goToSlide(4);    
        };
    </script>
    • This topic was modified 7 years, 5 months ago by relphi.
    • This topic was modified 7 years, 5 months ago by relphi.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘To go to a specific slide from an external button’ is closed to new replies.