June 2, 201016 yr Ugh I didn't know Infinite Scroll was going to be such a hassle. The site was fine (and is fine) up to this point, but I can't figure out how to get it to pull in the data from the new pages. Basically what I am doing is using jQuery to grab the size of the window (needed for Masonry) and the url (variables for php) and pass it to a php file which then loads the content accordingly. Easy enough. Now I can set up Infinite Scroll by calling it from the load event, but of course it's not going to find anything in the page to be loaded as that page wont have called the php file yet ... how the hell do I get around this?
Create an account or sign in to comment