Hello,
I use isotope.js to display a portfolio. lien caché
When I make a filter change by AJAX inside a view, the layout is broken. Can you tell me what to do to solve this problem?
Many thanks to you for your help.
Olivier
Hi Olivier,
Thank you for contacting us and I'd be happy to assist.
If you'll select "Let me choose individual settings manually" option in the view's "Custom Search Settings" section, you'll some additional fields to attach Javascript functions, when the view's results update through AJAX.
Screenshot: lien caché
You can include the name of the Javascript function from the "isotope.js" which initializes the layout on the page load, in the "will run after updating the results" field, so that it can also execute when the results are updated through AJAX.
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
Hi Waqar,
I added the function iso (); which is loaded initially but it does not change anything. The layout is still broken.
Thanks
Hi Olivier,
Thanks for writing back.
Can you please share temporary admin login details along with the link to a page where this view can be seen?
Note: Your next reply will be private and though no changes will be made on your website, please make a complete backup copy, before sharing the access details.
regards,
Waqar