I have a form with 2 columns (see attached image "canvas-1.png"). The left column contains a filter and the right one contains a portfolio showing the animals's image that satisfied the filter conditions. This form is first loaded withou AJAX (through normal GET).
When I click on an animal image a popup is shown with that image with zoom (attached image "canvas-2.png").
The problem...
When I fill the filter and click at the "Filtrar" button I load the right column via AJAX ($('#divPortfolio').load('...')) with the animals's image that satisfied the new filter conditions.
Now when I click on an animal image the browser window is replaced with that image. No popup appears.
I can see that you initialize many objects within the "functions.js" script when the page loads. I know that the problem I'm having is due to this fact.
I often have problems like this when I load some content through AJAX.
Is there a way to solve this problem?
Thanks.
