摘要: https://www.cnblogs.com/diligenceday/p/4246515.htmlhttp://watson.gotoip3.com/ 沃森http://www.jb51.net/article/93752.htm addEventListener事件绑定http://www.z 阅读全文
posted @ 2018-05-15 16:16 南瓜壳 阅读(43135) 评论(0) 推荐(0)
摘要: 语言知识: ES5 & ES6 & ES7 // ES语言基础 HTML5 API & CSS3 // HTML5和CSS特效 Less & Sass // CSS预编译语言 SVG & Canvas & D3.js // 图形数据可视化 WebGL & Three.js // 3D场景 CMD & 阅读全文
posted @ 2018-05-15 10:44 南瓜壳 阅读(219) 评论(0) 推荐(0)
摘要: 排序算法 1. 冒泡排序 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 function bubbleSort(arr){ var i = j = 0; for(i=1;i<arr.length;i++){ for(j=0;j<=arr.length-i;j++){ var tem 阅读全文
posted @ 2018-05-04 10:45 南瓜壳 阅读(243) 评论(0) 推荐(0)
摘要: http://watson.gotoip3.com/ 沃森http://www.jb51.net/article/93752.htm addEventListener事件绑定http://www.zhangxinxu.com 张鑫旭 http://www.runoob.com/bootstrap/b 阅读全文
posted @ 2018-04-25 13:37 南瓜壳 阅读(407) 评论(0) 推荐(0)
摘要: 本文主要内容: 1.分析函数的四种调用形式2.弄清楚函数中this的意义3.明确构造函对象的过程4.学会使用上下文调用函数 一、函数调用形式 函数调用形式是最常见的形式,也是最好理解的形式。所谓函数形式就是一般声明函数后直接调用即是。例如: 复制代码 代码如下: // 声明一个函数,并调用funct 阅读全文
posted @ 2018-04-19 15:27 南瓜壳 阅读(573) 评论(0) 推荐(0)
摘要: if (!document.querySelectorAll) { document.querySelectorAll = function (selectors) { var style = document.createElement('style'), elements = [], eleme 阅读全文
posted @ 2018-04-10 13:42 南瓜壳 阅读(1232) 评论(0) 推荐(0)
摘要: $(function(){ var myNav = $(".nav>ul>li>a"),i; for(i=0;i<myNav.length;i++){ var links = myNav.eq(i).attr("href").split(".")[0]; var myURL = document.U 阅读全文
posted @ 2018-04-09 15:24 南瓜壳 阅读(208) 评论(0) 推荐(0)
摘要: 一、事件 1-261、onmousedown定义:onmousedown事件会在鼠标按键被按下时发生 2、onmouseup定义:onmouseup事件会在鼠标按键被松开时发生 3、onmousemove定义:onmousemove事件会在鼠标指针移动时发生支持该事件的js对象:document但是 阅读全文
posted @ 2018-03-27 15:59 南瓜壳 阅读(165) 评论(0) 推荐(0)
摘要: http://www.zhangxinxu.com 张鑫旭 http://www.runoob.com/bootstrap/bootstrap-carousel-plugin.html 菜鸟 bootstraphttp://www.haodoxi.com/daohangcaidan/360.html 阅读全文
posted @ 2018-03-26 14:15 南瓜壳 阅读(484) 评论(0) 推荐(0)
摘要: 1.在一般函数方法中使用 this 指代全局对象 1 2 3 4 5 function test(){ this.x = 1; alert(this.x); } test(); // 1 1 2 3 4 5 function test(){ this.x = 1; alert(this.x); } 阅读全文
posted @ 2018-03-24 22:26 南瓜壳 阅读(310) 评论(0) 推荐(0)