rsSlideClick does not (always?) work

codecanyon's Avatar

codecanyon

07 Dec, 2012 03:37 PM

I'm trying to use the rsSlideClick event, but the current implementation only binds on anchor elements in the slides. My markup uses the

<a class="rsImg" href="{$image.src}">{$image.caption}</a>

version, but this get replaced with a img-tag. Then the event bindings are gone.

  1. Support Staff 1 Posted by Dmytro Semenov on 08 Dec, 2012 02:11 PM

    Dmytro Semenov's Avatar

    Hi,

    Use jQuery event delegation to add events to elements inside slide that are added dynamically.

    Dmitry

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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