Skip to content
This repository

Slide List not scoped correctly #17

Closed
evanblack opened this Issue June 27, 2011 · 3 comments

3 participants

Evan Black Sam Dunn jeanmichel71
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 July 08, 2011
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.