会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
刘金宇
祝你一天好心情
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
22
23
24
25
26
27
28
29
30
···
33
下一页
2014年10月9日
求数组中最大值,最小值
摘要: Array.prototype.max = function(){ //最大值return Math.max.apply({},this)}Array.prototype.min = function(){ //最小值return Math.min.apply({},this)}var myMax ...
阅读全文
posted @ 2014-10-09 11:47 刘金宇
阅读(187)
评论(0)
推荐(0)
2014年9月22日
placeholder 效果的实现,input提示字,获取焦点时消失
摘要: placeholder 效果的实现placeholder 效果placeholder 效果的实现 用户名 密码
阅读全文
posted @ 2014-09-22 18:25 刘金宇
阅读(973)
评论(0)
推荐(0)
2014年9月19日
js里apply用法
摘要: 1、Function.apply,用于构造函数的继承,继承另外一个构建对象的属性与方法function People(name,age){ this.name = name; this.age = age;}function Student(age){ this.age = age; People....
阅读全文
posted @ 2014-09-19 19:21 刘金宇
阅读(340)
评论(0)
推荐(0)
2014年9月17日
flayboard(纯属娱乐,别人做的)
摘要:
阅读全文
posted @ 2014-09-17 15:07 刘金宇
阅读(163)
评论(0)
推荐(0)
jquery.lazyload.js-v1.9.1延时加载插件,已兼容ie6和各大浏览器
摘要: 来源:http://www.jq22.com/jquery-info390使用前要求:img的设置:1、class要配上“lazy”;2、用data-original代替src;3、如果想要占位的话,img别忘了写上宽高。jQuery图片延迟加载插件jQuery.lazyload | jQuery插...
阅读全文
posted @ 2014-09-17 09:48 刘金宇
阅读(2045)
评论(0)
推荐(0)
QQ第三方登录
摘要:
阅读全文
posted @ 2014-09-17 09:26 刘金宇
阅读(221)
评论(0)
推荐(0)
jquery-ui.min.js的draggable()拖拽功能
摘要: 求拖走
阅读全文
posted @ 2014-09-17 09:18 刘金宇
阅读(1168)
评论(0)
推荐(0)
2014年9月16日
获取浏览器名称与版本checkbrowse()
摘要: function checkbrowse() {var ua = navigator.userAgent.toLowerCase();var is = (ua.match(/\b(chrome|opera|safari|msie|firefox)\b/) || ['', 'mozilla'])[1]...
阅读全文
posted @ 2014-09-16 16:38 刘金宇
阅读(314)
评论(0)
推荐(0)
2014年8月23日
ie下的透明度,用滤镜filter:alpha
摘要: .box{ width:100px; height:100px; background-color:#000; filter:alpha(Opacity=50); opacity: 0.5; }
阅读全文
posted @ 2014-08-23 14:39 刘金宇
阅读(275)
评论(0)
推荐(0)
2014年8月22日
跨域获取json数据
摘要: 这是天气json的数据,这里是链接,json的数据接口 http://m.weather.com.cn/data/101010100.htmljson的数据格式{"weatherinfo":{"city":"北京","city_en":"beijing","date_y":"2014年3月4 日",...
阅读全文
posted @ 2014-08-22 11:41 刘金宇
阅读(3995)
评论(2)
推荐(1)
上一页
1
···
22
23
24
25
26
27
28
29
30
···
33
下一页
公告