Good day to all. please help, on the site content is uploaded using AJAX. But after loading the animation does not work. This is a animation call:
<script> $(document).ready(function() { $(".box.animated").hover( function() { $(this).addClass('bounce'); // Добавляем класс bounce }, function() { $(this).removeClass('bounce'); // Убираем класс } )}) </script> And this is the upload script itself:
var infinite_scroll = { loading: { img: " <?php echo get_bloginfo('stylesheet_directory') ?>/img/25.gif", }, "nextSelector":".fetch a", "navSelector":".fetch", "itemSelector":".box", "contentSelector":"#boxes" }; jQuery( infinite_scroll.contentSelector ).infinitescroll( infinite_scroll );