Easy FancyBox
How to make Fancybox working with jQuery infiniteScroll ? (3 posts)

  1. ahmengtk
    Posted 4 years ago #

    How to make Fancybox working with jQuery Masonry in pages loaded through infiniteScroll ?

    Below is my script :
    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    Please help , thx : )


  2. RavanH
    Plugin Author

    Posted 4 years ago #

    Hi, your code snippet has been removed. Could you use pastebin?

    I'm not familiar with infiniteScroll or Masonry but if you give me a link to the page where you are trying to get these scripts to work together, I might be able to say more about it.

  3. encorewebplus
    Posted 3 years ago #

    Hi, I am looking for a solution to this problem as well. I love both scripts and would like to use them simultaneously.

    I think the problem lies here:

    When the infinite scroll loads additional content, in that additional content the fancybox script isnt loaded anymore. So initially fancy box works but when new content is brought into the website with infinite scroll, it somehow needs to reload the fancy box script.

    Do you have any solutions for this problem? Ive read into binds and delegate options that might work but I have no idea how to implement them into my existing site so that Fancybox is always loaded when an image gallery of mine is loaded

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.