自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(9)
  • 收藏
  • 关注

转载 数据类型自动转换

本人比较懒惰,截取几张图片参考 转载于:https://www.cnblogs.com/David-yanlong/p/4323798.html

2015-03-09 15:59:00 122

转载 浏览器对pushState的支持与示例

浏览器的支持情况: 平台 浏览器history API支持情况 IOS 4.2-4.3*,5.0+ Android 2.2,2.3,4.04+ Chrome for Android All versions Internet Explorer 10+(windows phone8) 1 var use...

2014-12-30 21:20:00 137

转载 判断浏览器及版本

//"webkit":safari或chrome //"opera":Opera //"mozilla":Firefox或者其他gecko内核的浏览其 //"msie":IE var browser=(function(){ var s=navigator.userAgent.toLowerCase(); var match=/(webkit)[\/]([\...

2014-12-13 21:12:00 78

转载 获取URL的参数

function urlArgs(){ var args={}; var query=location.search.substring(1); var pairs=query.split('&'); for(var i=0;i<pairs.length;i++){ var pos=pairs[i].indexOf('='); ...

2014-12-13 20:17:00 76

转载 IE中的条件注释文本

执行脚本 /*@cc_on @if(@_jscript) console.log('In IE'); @else*/ console.log('other explorer'); /*@end @*/    查看console输出: 转载于:https://www.cnblogs.com/David-yanlong/p/4160502.html...

2014-12-12 21:42:00 47

转载 关于移动设备加速度的官网文档

http://w3c.github.io/deviceorientation/spec-source-orientation.html 转载于:https://www.cnblogs.com/David-yanlong/p/4158643.html

2014-12-11 22:24:00 95

转载 移动开发的一些技巧

一、避免文字字体大小重置 html{   -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;   text-size-adjust:100%; } 二、视口大小 对于一些老的浏览器需要使用如下代码: <meta name="HandeldFriendly" content="true">...

2014-12-11 22:14:00 100

转载 学习HTML5的免费资源

HTML5 Doctor:http://html5doctor.com/ Dive Into HTML5:http://diveintohtml5.com HTML5 Rocks:http://www.html5rocks.com 转载于:https://www.cnblogs.com/David-yanlong/p/4158546.html

2014-12-11 21:27:00 67

转载 一种通用的Javascript类库的编写格式

1 (function () { 2 3 var SomgLib= { 4 5 //--------------------------------------------------------------------------- 6 7 VERSION: "2.3.3", 8 9 //----...

2014-10-22 11:12:00 147

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除