/* * @Author: admin * @Date: 2018-05-06 22:49:09 * @Last Modified by: admin * @Last Modified time: 2018-05-06 22:49:09 */ $(function () { /*$('#feedback #feedbackbotton').addClass('more'); $('#feedback tr').each(function(i){ $(this).addClass('liuyan-tr'); $(this).addClass('liuyan'+i); })*/ var wow = new WOW({ boxClass: 'wow', animateClass: 'animated', offset: 0, mobile: false, live: true }); wow.init(); /*if($(window).width()>768){ window.onresize=function(){ location.reload(); }; }else{ }*/ /*window_scroll*/ window.onscroll = function() { var scroll = $(document).scrollTop(); /*if(scroll>0){ $('.header').addClass('on2') }else{ $('.header').removeClass('on2') }*/ } //锚点滚动 /*$('a[href*=#],area[href*=#]').click(function () { if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) { var $target = $(this.hash); $target = $target.length && $target || $('[name=' + this.hash.slice(1) + ']'); if ($target.length) { var targetOffset = $target.offset().top - 200 + "px"; $('html,body').animate({ scrollTop: targetOffset }, 500); return false; } } });*/ })