摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> <style type="text/css"> #score{ position: absolute; top: 50px; left: 20px; } #s 阅读全文
posted @ 2016-11-26 20:38 mywills 阅读(206) 评论(0) 推荐(0) 编辑
摘要: //5.快速排序 基数,随便找一个数组里面的数,一般情况去数组中间的数字,(这个基数决定了快速排序算法的优劣) var arr = [12,2,34,4564,234,23,334,125,65]; //快速排序的函数 function quickSore(oldArray){ //出口 if (o 阅读全文
posted @ 2016-11-06 17:41 mywills 阅读(108) 评论(0) 推荐(0) 编辑
摘要: //滚轮事件 function MouseWheelHandle(obj,handle){ var info = navigator.userAgent; var down = null; //用来记录滚轮的上下,down = true 表示向下 if (info.indexOf("Firefox" 阅读全文
posted @ 2016-11-02 20:28 mywills 阅读(84) 评论(0) 推荐(0) 编辑