博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
页签切换
阅读量:4659 次
发布时间:2019-06-09

本文共 367 字,大约阅读时间需要 1 分钟。

function tabs_switch(tab,item){    $(tab).find("li a").click(function(){        $(this).parent().addClass("active").siblings("li").removeClass("active");        var index = $(this).parent().index();        $(item).eq(index).addClass("active");        $(item).eq(index).siblings(item).removeClass("active");    });}

 

转载于:https://www.cnblogs.com/zouke1220/p/8176091.html

你可能感兴趣的文章
D3js初探及数据可视化案例设计实战
查看>>
java.text.MessageFormat
查看>>
1_ROS学习
查看>>
转I/O多路复用之select
查看>>
理解 YOLO
查看>>
检查Linux文件变更Shell脚本
查看>>
ActiveMQ中JMS的可靠性机制
查看>>
oracle操作字符串:拼接、替换、截取、查找
查看>>
”语义“的理解
查看>>
210. Course Schedule II
查看>>
月薪3000与月薪30000的文案区别
查看>>
使用spring dynamic modules的理由
查看>>
Leetcode 117 Populating Next Right Pointers in Each Node 2
查看>>
C++ Primer 第四版中文版
查看>>
变量关系
查看>>
android Service中启动Dialog
查看>>
文件下载之ServletOutputStream
查看>>
linux文件的隐藏属性:chattr
查看>>
【原版的】PHP技术成长规划过程中猿人
查看>>
NTP工作机制及时间同步的方法
查看>>