www.gusucode.com > 51:【198-3365】仿寻模板网页模板下载素材销售下载站平台织梦模板 > 51:【198-3365】仿寻模板网页模板下载素材销售下载站平台织梦模板/templets/js/new-ad.js
//广告点击量 $(document).on('click','.adimg',function(){ var ad = $(this).attr('rel'); $.post('/adnum',{ad:ad}, function(e) { }) }) //轮播图点击量 $('.adv_img').click(function(){ var ad = $(this).attr('rel'); $.post('/adnum',{'ad':ad,'stat':1}, function(e) { }) }) //延迟加载 $(document).ready(function(){ $('.imgloadinglater').lazyload({ threshold : -100, //距离100像素触发 effect : "fadeIn" //显示特效 }); });