// JavaScript Document //--> $(document).ready(function () { $(".p_left,.position").each(function (i, e) { $(this).addClass("fadeInLeft wow"); $(this).attr("data-wow-delay", +(i * 0.1) + "s"); }); $(".colm li,.p_right").each(function (i, e) { $(this).addClass("fadeInRight wow"); $(this).attr("data-wow-delay", +(i * 0.1) + "s"); }); $(".yw-list li").each(function (i, e) { $(this).addClass("bounceInDown wow"); $(this).attr("data-wow-delay", +(i * 0.1) + "s"); }); $(".newslist li,.yewu,.party li,.videolist li").each(function (i, e) { $(this).addClass("slideInUp wow"); $(this).attr("data-wow-delay", +(i * 0.1) + "s"); }); var wow = new WOW({ boxClass: 'wow', // animated element css class (default is wow) animateClass: 'animated', // animation css class (default is animated) offset: 100, // distance to the element when triggering the animation (default is 0) mobile: true, // trigger animations on mobile devices (default is true) live: true, // act on asynchronously loaded content (default is true) callback: function (box) { // the callback is fired every time an animation is started // the argument that is passed in is the DOM node being animated } }); wow.init(); });