How to add action images click

n.lerda's Avatar

n.lerda

27 Aug, 2012 02:09 PM

Hi ,

i generate my slider with dynamic content and i want to call a function when i click on the image to load ajax content linked to the image clicked.

Regards.

  1. Support Staff 1 Posted by Dmitry Semenov on 27 Aug, 2012 05:13 PM

    Dmitry Semenov's Avatar

    Hi,

    There is rsSlideClick event.

    var slider = $('.royalSlider').data('royalSlider');
    slider.ev.on('rsSlideClick', function() {
        var slideHTMLObject = slider.currSlide.holder;
    });
    

    Please make sure that you're using 9.1.9+ version.

    Dmitry

  2. Dmitry Semenov closed this discussion on 29 Aug, 2012 11:51 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac