上一页 1 ··· 4 5 6 7 8 9 下一页
  2016年12月15日
摘要: 1.散点图中找最优记录 2地图中的特殊标记 阅读全文
posted @ 2016-12-15 17:27 sunnie_c 阅读(531) 评论(0) 推荐(0) 编辑
  2016年11月30日
摘要: .allProductInfo{ width:100px; height:100px; border:1px solid #ccc; position:relative; top:50px; } .allProductInfo:after{ content: ""; b... 阅读全文
posted @ 2016-11-30 15:16 sunnie_c 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 5 <title></title> 6 <meta charset="utf-8" / 阅读全文
posted @ 2016-11-30 15:08 sunnie_c 阅读(147) 评论(0) 推荐(0) 编辑
  2016年11月26日
摘要: var clientWidth = window.screen.width; var clientHeight = window.screen.height; var maxValue; clientWidth < clientHeight ? $("html").css("font-size", 阅读全文
posted @ 2016-11-26 17:43 sunnie_c 阅读(102) 评论(0) 推荐(0) 编辑
  2016年11月24日
摘要: 语法 $(selector).on(event,childSelector,data,function,map) 参数描述 event 必需。规定要从被选元素移除的一个或多个事件或命名空间。由空格分隔多个事件值。必须是有效的事件。 childSelector 可选。规定只能添加到指定的子元素上的事件 阅读全文
posted @ 2016-11-24 11:10 sunnie_c 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 第一次看到这么用,哈哈,就记下 for (var control = ["程", "陈", "是"]; control[0]; control.shift()) { 1.control[0]是看满足条件不,满足就继续往下循环; 2.control.shift()是执行完后,将control数组中的第 阅读全文
posted @ 2016-11-24 10:07 sunnie_c 阅读(195) 评论(0) 推荐(0) 编辑
  2016年11月19日
摘要: 1 //将鼠标移到文本最后 2 function set_focus(el) { 3 el.focus(); 4 if (el instanceof jQuery) el = el[0]; 5 //el=el[0]; //jquery 对象转dom对象 6 if ($.support.msie) { 7 var range = do... 阅读全文
posted @ 2016-11-19 17:46 sunnie_c 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 7 8 9 91 92 93 94 95 96 97 98 99 100 ... 阅读全文
posted @ 2016-11-19 16:38 sunnie_c 阅读(124) 评论(0) 推荐(0) 编辑
摘要: var arr1 = ["abc", "cbd", "def"]; var arr2 = ["Abc", "cbd", "def"]; if (arr1.length == arr2.length) { var arr11 = $.map(arr1.sort(), function (v,i) { 阅读全文
posted @ 2016-11-19 15:37 sunnie_c 阅读(4301) 评论(0) 推荐(0) 编辑
摘要: 1.json对象转换为字符串 JSON.stringify(value [, replacer] [, space]) var student = new Object(); student.id = "001"; student.name = "程陈"; student.age = "18"; v 阅读全文
posted @ 2016-11-19 14:57 sunnie_c 阅读(3778) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页