Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Slide List not scoped correctly #17

Closed
evanblack opened this Issue · 3 comments

3 participants

Evan Black jeanmichel71 Sam Dunn
Evan Black

Because the variable vars.slide_list is never defined, the scope doesn't exist and the plugin grabs every li element on the page.

Slide list should be declared under the variables:

$.supersized.vars = {

    // Elements
    slide_list          :   '#slide-list'

};
jeanmichel71

Same issue here with v3.2.1, I had to set slide_links option to false.
Line 246: $('li', vars.slide_list).click(function(){ ... }
kills all my [li][a href] links

jeanmichel71

in jQuery documentation [http://docs.jquery.com/%24], context should be a DOM element or jQuery object, not a CSS selector

Sam Dunn
Owner

Thanks for pointing this out guys - this should be resolved in 3.2.3 which i just pushed through

Sam Dunn samdunn closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.