上一页 1 ··· 5 6 7 8 9 10 11 12 下一页
摘要: 轮播图 中间放大 内容跟着切换 (参考 米趣 网站) html <div class="jcarousel-wrapper"> <div class="jcarousel" data-jcarousel="true"> <ul id="myjcar"> </ul> </div> <a href="# 阅读全文
posted @ 2017-06-09 19:51 永醉雨辰 阅读(1370) 评论(0) 推荐(0) 编辑
摘要: $(document).ready(function () { }//没有双引号 $(function() { } 阅读全文
posted @ 2017-06-09 19:47 永醉雨辰 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 参考 http://doc.bropaul.com/Stellar.js/docs/ https://github.com/markdalgleish/stellar.js#download http://segmentfault.com/a/1190000002566463#articleHead 阅读全文
posted @ 2017-06-09 19:45 永醉雨辰 阅读(1520) 评论(0) 推荐(0) 编辑
摘要: $(this) 返回一个 jQuery 对象,你可以对它调用多个 jQuery 方法,比如用 text() 获取文本,用val() 获取值等等。 而 this 代表当前元素,它是 JavaScript 关键词中的一个,表示上下文中的当前 DOM 元素。你不能对它调用 jQuery 方法,直到它被 $ 阅读全文
posted @ 2017-06-09 19:43 永醉雨辰 阅读(291) 评论(0) 推荐(0) 编辑
摘要: js写css()方法,记得加引号“ ”,除非是数字。如: $("#android").css({ "position": "absolute", "z-index": 3, "background": "rgba(90,100,100,0.5)" } 阅读全文
posted @ 2017-06-09 19:34 永醉雨辰 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 如 例 var a = function() { var i = 1; var b = function() { i = i+1; }; }; 闭包的使用场景例如递归 应该return b出去把 闭包的使用场景例如递归 应该return b出去把 re 不re, 看业务需求 或者需要保存内部变量的就 阅读全文
posted @ 2017-03-16 22:10 永醉雨辰 阅读(177) 评论(0) 推荐(0) 编辑
摘要: $("li").each(index){ $(this).mouseover(fucntion(){ $("div.contentin").removeClass("contentin") $("li.tabin").removeClass("tabin") $("div").eq(index).a 阅读全文
posted @ 2017-03-16 22:06 永醉雨辰 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 打开Git Bash 命令:先写 git status, 它会告诉你怎么做 1. git pull (把git库中代码拉下来) 2. $ git status (查看状态) 3. $ git add * (git add /templates/*){git checkout 恢复没提交的修改} 4. 阅读全文
posted @ 2017-03-16 22:02 永醉雨辰 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 英文版:http://handlebarsjs.com./ 原文链接:http://www.cnblogs.com/diligenceday/p/4105229.html, http://segmentfault.com/a/1190000000342636?from=androidqq html标 阅读全文
posted @ 2017-03-16 21:54 永醉雨辰 阅读(2026) 评论(0) 推荐(0) 编辑
摘要: demoline01、02选一个用足够了 <style> .demo_line_01 { width: 200px;/*这指的是文字的宽度*/ padding: 0 20px 0; margin: 20px auto; line-height: 1px; border-left: 200px sol 阅读全文
posted @ 2017-03-16 21:50 永醉雨辰 阅读(4560) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 下一页