Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.