I\'m using the Isotope Plugin. I have an empty container to which I am adding items on $(document).ready(...
All those items are added correctly and iso
If you have something simple like
you could just run a function to preset filtering, once the DOM has been fully constructed
$(function() {
// Isotope stuff...
$container.isotope({filter: '.home'});
// more Isotope stuff...
});
and Isotope has been initialised. See this modified DeSandro fiddle in which the initial view is filtered to show only the red elements.
UPDATE Loading the initial content into an empty #container (via Ajax?), you could use the insert method or just hide the #container until all elements have been loaded and sorted. Regarding Ajax and initialising Isotope on success, see also this SO answer here.