中药方大全小图标
您当前的位置:首页 > 其他 > 网站日记

jquery代码仓库

提示: 阅读权限:公开  来源:原创  作者:中药方大全
window.onload = function(){
    $('.clicknum').each(function(i){
            var url="[!--news.url--]e/public/ViewClick?&down=0&nojs=1&classid="+$(this).attr("data-class")+"&id="+$(this).attr("data-id");
            $(this).load(url);
         });

 }  //文档加载完后执行,load函数,动态加载点击数

3秒后跳转
  setTimeout(function(){window.location = '/e/member/cp/'; }, 3000);

$('li').filter(function(index){return /love/.test($(this).attr('id'));}).css('background-color', 'red');  //filter匿名函数筛选

$('li').filter(function(index){return $('p',this).length==1;}).css('background-color', 'red');

$('li').filter(function(index){return index%4;}).css('background-color', 'red');


 

$(function(){
    var jhcpath=window.location.pathname.replaceAll('/','');
    $('div.left').find("a[href*="+jhcpath+"]").css("color", "#DC3125"); 

});
tags:
返回顶部
推荐资讯
视频:田纪钧讲关节不痛的秘密、膝关节拉筋法
视频:田纪钧讲关节不
白露到了,你还好吗?
白露到了,你还好吗?
尿疗与断食
尿疗与断食
给风疹反复发作女孩的药方(组图)
给风疹反复发作女孩的
相关文章
    无相关信息
栏目更新
栏目热门
  1. 帝国cms全站搜索的分页格式如何修改-流程
  2. libreoffice7的命令大全
  3. 帝国cms插件之标题生成标题图片
  4. 帝国cms插件安装模板
  5. useragent两千条,爬虫专用
  6. 帝国cms插件如何兼容gbk和utf8
  7. 帝国cms插件之迅搜
  8. 帝国cms用户上传文件名的命名规则及修改方
  9. 帝国cms7.2函数大全
  10. 帝国cms代码片段备忘录