随笔分类 -  JS/JQuery

摘要:通过data-id='<%#Eval("id") %>' 绑定唯一id。 <ItemTemplate> <tr> <td style="padding:10px"> <div class="rule-multi-checkbox"> <label for="chkId"> <input type=" 阅读全文
posted @ 2024-05-19 08:16 请叫我七哥 阅读(40) 评论(0) 推荐(0) 编辑
摘要:function formatDate(date){ let year = date.getFullYear(); let month = date.getMonth()+1; let day = date.getDate(); month = month < 10 ?'0'+ month : mo 阅读全文
posted @ 2024-05-01 14:04 请叫我七哥 阅读(12) 评论(0) 推荐(0) 编辑
摘要:教程 https://www.runoob.com/highcharts/highcharts-tutorial.html 安装 Highcharts Highcharts 安装可以使用以下两种方式: 1、访问 highcharts.com 下载 Highcharts 包。 2、使用官方提供的 CD 阅读全文
posted @ 2023-06-24 22:08 请叫我七哥 阅读(21) 评论(0) 推荐(0) 编辑
摘要:复制内容到剪切板分两种情况,一种是从页面已有的可选元素中选中内容进行复制,一种是将Javascript代码中的字符串直接复制到剪切板。复制页面元素选中内容 html代码: <input type="textarea" id="txt" /> <button onclick="copy()">复制</ 阅读全文
posted @ 2023-06-06 20:59 请叫我七哥 阅读(4839) 评论(0) 推荐(0) 编辑
摘要:http://www.17sucai.com/pins/tag/1128.html 阅读全文
posted @ 2019-05-05 19:53 请叫我七哥 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-05-10 19:35 请叫我七哥 阅读(908) 评论(0) 推荐(0) 编辑
摘要:JS版 网页版。。。。 阅读全文
posted @ 2016-04-22 10:16 请叫我七哥 阅读(785) 评论(0) 推荐(0) 编辑
摘要:http://www.popub.net/ 阅读全文
posted @ 2016-04-21 11:49 请叫我七哥 阅读(175) 评论(0) 推荐(0) 编辑
摘要:<div class="slider"> <ul class="num" id="homePushName"> <li class="current">1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> </ul> <ul class="bg" id 阅读全文
posted @ 2016-04-11 15:06 请叫我七哥 阅读(221) 评论(0) 推荐(0) 编辑
摘要:文字或图片实现 向上 无缝滚动 文字或图片实现向上无缝滚动 文字或图片实现向上无缝滚动 文字或图片实现向上无缝滚动 文字或图片实现向上无缝滚动 文字或图片实现向上无缝滚动 文字或图片实现向上无缝滚动 文字或图... 阅读全文
posted @ 2016-04-07 15:11 请叫我七哥 阅读(1313) 评论(0) 推荐(0) 编辑
摘要:js中判断当前页面URL是否包含二级栏目中的url 阅读全文
posted @ 2016-04-07 14:52 请叫我七哥 阅读(324) 评论(0) 推荐(0) 编辑
摘要:最终效果 阅读全文
posted @ 2016-03-22 16:51 请叫我七哥 阅读(498) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2016-03-11 16:18 请叫我七哥 阅读(2) 评论(0) 推荐(0) 编辑
摘要:<script src="jquery.js" type="text/javascript"></script> <script src="jquery.treeTable.js" type="text/javascript"></script><link href="default/jquery. 阅读全文
posted @ 2016-02-24 17:14 请叫我七哥 阅读(1873) 评论(0) 推荐(1) 编辑
摘要:关于TreeTable实际应用的案例:http://www.cnblogs.com/qigege/p/5213689.html treeTable是跨浏览器、性能很高的jquery的树表组件,它使用非常简单,只需要引用jquery库和一个js文件,接口也很简单。 优点 兼容主流浏览器: 支持IE6和 阅读全文
posted @ 2016-02-24 17:05 请叫我七哥 阅读(1612) 评论(0) 推荐(0) 编辑
摘要:二级或者三级折叠菜单参考http://www.cnblogs.com/qigege/p/5178947.html <script type="text/javascript"> $(function () { $("#Nav_left ul li").each(function () { $(thi 阅读全文
posted @ 2016-02-23 09:41 请叫我七哥 阅读(422) 评论(0) 推荐(0) 编辑
摘要:$(document).ready(function () { $(".Pub_TB tbody tr:even td").css("background-color", "#dbdbdb"); //隔行换色 /*************/ //鼠标滑过的样式 $(".Pub_TB tbody tr 阅读全文
posted @ 2016-02-18 14:36 请叫我七哥 阅读(269) 评论(0) 推荐(0) 编辑
摘要:#menu { width:200px; margin:auto;} #menu h1 { font-size:12px; border:#C60 1px solid; margin-top:1px; background-color:#F93;} #menu h2 { font-size:12px 阅读全文
posted @ 2016-02-03 08:51 请叫我七哥 阅读(1594) 评论(0) 推荐(0) 编辑
摘要:如果用slideToggle,鼠标快速滑过后,滑进滑出很多次,要解决这个问题,用stop(false,true) $(".Nav_L").hover(function () { $(".Cate2").stop(false,true).slideToggle(500); }); 阅读全文
posted @ 2016-02-01 16:55 请叫我七哥 阅读(492) 评论(0) 推荐(0) 编辑
摘要:返回 阅读全文
posted @ 2016-01-22 16:04 请叫我七哥 阅读(1977) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示