摘要: 1 2 3 4 5 6 归并排序法 7 8 9 归并排序是一种分治算法,其思想是将原始数组分割成较小的数组,直到每个小数组只有一个位置,接着将小数组归并成较大数组,知道最后只有一个排序完毕的大数组。 10 11 1 var array=[32,12,45,2,57,1,35,7,9,23,32]; 2 3 function merg... 阅读全文
posted @ 2018-10-15 14:49 johnhery 阅读(97) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 冒泡排序法 6 7 8 9 61 62 阅读全文
posted @ 2018-10-15 14:45 johnhery 阅读(148) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 选择排序法 6 7 8 9 36 37 阅读全文
posted @ 2018-10-15 14:29 johnhery 阅读(124) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 6 获取对象属性 7 8 9 abc 10 20 21 阅读全文
posted @ 2018-10-15 14:26 johnhery 阅读(145) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 6 7 8 html5+css3实现上拉和下拉刷新 9 10 11 12 106 107 253 254 255 256 iScroll 257 258 259 260 Pull down to refresh... 261 262... 阅读全文
posted @ 2018-10-15 14:16 johnhery 阅读(769) 评论(0) 推荐(0)
摘要: 1 .wutai{width: 1000px;;} 2 .container{position:relative;transform-style:preserve-3d;width: 100px;height: 100px;transition:all .5s linear;float:left;margin: 10px;} 3 .box1,.box2{position:absolute;wid... 阅读全文
posted @ 2018-10-15 14:13 johnhery 阅读(505) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 6 7 domReady 8 9 10 11 这里是h1元素包含的内容 12 这里是h1元素包含的内容 13 14 15 29 1 function domReady(fn){ 2 if(document.addEventList... 阅读全文
posted @ 2018-10-15 14:09 johnhery 阅读(194) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 JS 遍历 6 11 27 28 29 30 1 31 2 32 3 33 34 35 阅读全文
posted @ 2018-10-15 13:58 johnhery 阅读(211) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 6 对象属性的优先级 7 8 9 10 16 17 阅读全文
posted @ 2018-10-15 13:54 johnhery 阅读(146) 评论(0) 推荐(0)
摘要: 1 2 3 4 5 ng_intro_controller 6 7 8 9 10 用户名: 11 密 码: 12 您输入的用户名为: 13 您输入的密码是: 14 15 16 23 阅读全文
posted @ 2018-10-15 11:38 johnhery 阅读(122) 评论(0) 推荐(0)