abrahamgarcia27 Posted April 25, 2013 Share Posted April 25, 2013 So i am working on a page i am using a tutorial found online to paginate a gallery via infinite scroll. I have the plugin working, but the elements of the theme such a magnifying glass on hover do not work. I am sure the problem has to do with the content being loaded via AJAX. When i inspect the element the all the div are there, but when i view source it does not show the data that is being appended, so i believe that is where the problem is at. The problem is i don't know how to fix this issue, if someone could guide me toward the right way that would be great. Link: http://sunerandgarcia.com/clients/tucanes/fotos Quote Link to comment https://forums.phpfreaks.com/topic/277285-dom-ajax-problem/ Share on other sites More sharing options...
trq Posted April 25, 2013 Share Posted April 25, 2013 View source only ever shows wat was in the document when it was first requested, inspecting the elements gives you a much clearer picture of what the DOM looks like as it changes via scripting. You going to need to give us a clearer description of what the problem is exactly however as looking at your page and reading your thread, I'm still lost. Quote Link to comment https://forums.phpfreaks.com/topic/277285-dom-ajax-problem/#findComment-1426494 Share on other sites More sharing options...
abrahamgarcia27 Posted April 25, 2013 Author Share Posted April 25, 2013 Ok i think the best way to explain the problem is by giving you the example of how the page should work How it should work: http://sunerandgarcia.com/clients/tucanes/fotoscon/56 (Does not contain AJAX Request) How it is currently: http://sunerandgarcia.com/clients/tucanes/fotos (Does contain AJAX Request) So the problem is when you hover the Elements that should load via jQuery do not load for some reason. Quote Link to comment https://forums.phpfreaks.com/topic/277285-dom-ajax-problem/#findComment-1426498 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.