Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajax Elements re-initialization of Gridder #45

Open
mattherick opened this issue Jun 13, 2016 · 3 comments
Open

Ajax Elements re-initialization of Gridder #45

mattherick opened this issue Jun 13, 2016 · 3 comments

Comments

@mattherick
Copy link

Hi,
I have a page, where li-elements are loaded in a gridder-ul and after that I initialize the gridder with $('.gridder').gridderExpander(....) for these elements -> is working correct.

If I now want to load more li-elements and append them to the gridder-ul it is not working anymore. If I re-initialize the gridder the new elements are working and the old ones not.

Any idea how this could be fixed?

I initialize it like following:

$('.gridder').gridderExpander({
    scroll: true,
    scrollOffset: 30,
    scrollTo: "listitem",                  // panel or listitem
    animationSpeed: 400,
    animationEasing: "easeInOutExpo",
    showNav: false,                      // Show Navigation
    nextText: "Next",                   // Next button text
    prevText: "Previous",               // Previous button text
    closeText: "Close",                 // Close button text
    onStart: function(){
        //Gridder Inititialized
    },
    onContent: function(){
        //Gridder Content Loaded
      var element = jQuery(".gridder-show");
      initializeFullFlexslider(element); // custom function to initialize a flexslider within the gridder
    },
});
@marcsalmon
Copy link

Did you solve this in the end? We've encountered the same issue..

@orion3dgames
Copy link
Owner

Any example, as I've successfully done that many time. ???

@zzzaJ
Copy link

zzzaJ commented Jul 11, 2018

I am also having this issue. @oriongunning any chance you could present an example of how this would work? (i.e. a successfully working implementation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants