Jump to content

DOM AJAX Problem


abrahamgarcia27

Recommended Posts

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

 

 

Link to comment
https://forums.phpfreaks.com/topic/277285-dom-ajax-problem/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/277285-dom-ajax-problem/#findComment-1426494
Share on other sites

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. 

Link to comment
https://forums.phpfreaks.com/topic/277285-dom-ajax-problem/#findComment-1426498
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.