Support » Plugin: Smart Slider 3 » Button click fancybox gallery

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ramona (from Nextend)

    (@nextend_ramona)

    Hi

    Please try the following code:

    <script type="text/javascript">
        function gallery1trigger() {
            jQuery('#gallery-1 a').eq(0).trigger('click');
        }
    </script>

    which you can put to your theme’s file or plugin like this: https://wordpress.org/plugins/custom-css-js/
    (without the script tags).

    Then call this gallery1trigger from the button link like this:
    javascript:gallery1trigger()
    and that should work.

    Seems to be working. You are a godsend, thank you very much! : )

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Button click fancybox gallery’ is closed to new replies.