登录
首页 » javascript » jq点击展开菜单

jq点击展开菜单

于 2022-09-23 发布 文件大小:32.45 kB
0 106
下载积分: 2 下载次数: 1

代码说明:

使用jquery设计菜单功能,关键代码$(this).parent().toggleClass("bg"); $(this).parent().prevAll("dt").removeClass("bg") $(this).parent().nextAll("dt").removeClass("bg") $(this).parent().next().slideToggle(); $(this).parent().prevAll("dd").slideUp("slow"); $(this).parent().next().nextAll("dd").slideUp("slow"); return false;

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 微信OA(2)
    功能简介: 移动考勤、投票、报销、流程审批、任务协作、调研、招聘、请假、微名片、会议室预定、日程管理、微信外勤、企业公告、企业知识库、离职、借书、聊天室、工作日志、售后、在线考试、绩效、进销存 注:数据库需手动导入,然后修改DataConfdb.php中的相关数据即可。 环境: 服务器系统环境: Winodows、Linux 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-10-03 09:05:13下载
    积分:1
  • js 写入文档
    $(function(){ $("#import").click(function(){ $("#files").click(); }); }); function importMsg(){     var selectedFile = document.getElementById("files").files[0];//获取读取的File对象     var name = selectedFile.name;//读取选中文件的文件名     var size = selectedFile.size;//读取选中文件的大小     console.log("文件名:"+name+"大小:"+size);     var reader = new FileReader();//这里是核心!!!读取操作就是由它完成的。     reader.readAsText(selectedFile);//读取文件的内容     reader.onload = function(){         console.log(this.result);//当读取完成之后会回调这个函数,然后此时文件的内容存储到了result中。直接操作即可。     }; } $(function(){ $("#export").click(function(){     var content = "This is used as HTML5 log";     var blob = new Blob([content], {"type": "
    2022-01-28 03:32:10下载
    积分:1
  • 北交大机器人对管理模块
    北交大机器人对管理模块,比较简单的一些功能模块,,,,,,,
    2022-04-28 09:25:20下载
    积分:1
  • java 模板语言核心代码
    模板语言,java,股票,证券。非常棒的。功能强大 package com.honey.template.algorithm.formula; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.honey.template.algorithm.formula.support.DataFieldValueContext; import com.honey.template.algorithm.formula.support.RelatedFieldContext; import com.honey.template.algorithm.formula.support.RelatedFieldInfo; import com.honey.template.algorithm.formula.support.VariableContext; import fr.expression4j.basic.MathematicalElement; import fr.expression4j.core.Expression; /**  * * @ClassName: Formula * @Description: TODO * @author duanl * @date 2016年6月13日 *  */ public class Formula {  private String v;  private String[] varnames;  private Map returns =
    2022-05-14 09:40:41下载
    积分:1
  • 音乐音轨代码
    var KeKeMusic = { mark:false, init:function(){ //1:音频上下文===html5+ajax+audioContext   html5+audio+audioContext   window.AudioContext = window.AudioContext || window.webkitAudioContext || window.mozAudioContext || window.msAudioContext; /*动画执行的兼容写法*/ window.requestAnimationFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame; //2:初始化音轨对象 var audioContext = new window.AudioContext(); return audioContext; }, parse:function(audioContext,audioDom,callback){ try{ //拿到播放器去解析你音乐文件 var audioBufferSouceNode = audioContext.createMediaElementSource(audioDom); //创建解析对象 var analyser = audioCon
    2022-01-27 23:07:13下载
    积分:1
  • hunliwanzhban
    - 其中VIP源代码是经过测试,确保能够正常使用并没有病毒; - 如果遇到MD5加密文件而又不知道的密码的,请在数据库中换上这组加密的数据; 例如:469e80d32c0559f8 密码就是admin888 后台密码替换: 16位:7a57a5a743894a0e 密码就是admin 32位:21232f297a57a5a743894a0e4a801fc3 密码是admin 我们只提供认为是实用的、优秀的软件和源代码;希望广大爱好者支持本站。 记得帮我们宣传一下哦。(- VIP which source code is tested to ensure that the normal use and no virus - if they are MD5 encrypted file and do not know the password, please put in the database this group of encrypted data example: 469e80d32c0559f8 password is admin888 password to replace the background: 16: 7a57a5a743894a0e password is admin 32 bit: 21232f297a57a5a743894a0e4a801fc3 password is admin, we only think it is practical, excellent software and source code hope that the majority of fans to support the site. I remember a bit of advertising to help us, oh.)
    2006-12-15 11:33:44下载
    积分:1
  • Leaflet.fullscreen-gh-pages
    说明:  leaflet examples, downloaded from the Internet, used for experiments
    2020-06-22 07:40:02下载
    积分:1
  • 十多个号开始的老顾客了速度很快就会
    十多个号开始的老顾客了速度很快就会十多个号开始的老顾客了速度很快就会十多个号开始的老顾客了速度很快就会十多个号开始的老顾客了速度很快就会十多个号开始的老顾客了速度很快就会十多个号开始的老顾客了速度很快就会十多个号开始的老顾客了速度很快就会十多个号开始的老顾客了速度很快就会十多个号开始的老顾客了速度很快就会十多个号开始的老顾客了速度很快就会十多个号开始的老顾客了速度很快就会十多个号开始的老顾客了速度很快就会十多个号开始的老顾客了速度很快就会
    2022-06-15 20:20:13下载
    积分:1
  • 好看的HTML软件官网展示源码
    好看的HTML软件官网展示源码!!!!!!!!!(Beautiful HTML Software Official Web Show Source Code)
    2020-06-25 03:20:02下载
    积分:1
  • H5全套项目UI
    Html5的一套项目UI  涵盖多个模块 
    2022-01-28 16:04:35下载
    积分:1
  • 696518资源总数
  • 106215会员总数
  • 5今日下载