- 博客(19)
- 收藏
- 关注
转载 VsCode的rg.exe占用Cpu解决方案
选择 文件->首选项->设置然后使用检索search.followSymlinks将其勾选去掉,亲测有效,如果版本不同,可以检索到当前选项将其修改为false即可!!转载于:https://www.cnblogs.com/dream0530/p/9903362.html...
2018-11-04 11:19:00
193
转载 手机端的rem转px插件
/** * Created by zengxaingrui on 2016/10/26. */(function(win, lib) { var doc = win.document; var docEl = doc.documentElement; var metaEl = doc.querySelector('meta[name="viewport"]'); ...
2018-08-13 09:52:00
137
转载 文件
mySql数据库sql优化:http://blog.163.com/zhangjie_0303/blog/static/9908270620146951355834/Oracle数据库Sql优化:http://www.cnblogs.com/rootq/archive/2008/11/17/1334727.htmlmySql列转行:http://www.cnb...
2017-05-18 16:51:00
109
转载 H5上传图片
<!DOCTYPE HTML PUBLIC><html><head> <meta charset="utf-8"> <script src="//code.jquery.com/jquery-1.11.0.min.js"></script> <title>使用html5 FileRead...
2017-03-16 16:35:00
87
转载 移动端
在移动端使用html5的触屏事件主要就是为了解决灵敏度的问题传统的js或者jquery有的时候在移动端灵敏度是不行的。-------------------------主要是三个事件:touchstart、touchmove、touchendtouchstart:手指头触摸屏幕上的事件touchmove:手指头在屏幕上滑动触发的事件touchend:当手指从屏幕上离开的时候触发利用jqu...
2016-12-27 17:33:00
79
转载 jsonp与JAVA的配合使用
一.客户端<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><metahttp-equiv="Content-Type"content...
2016-12-14 16:24:00
113
转载 《你不懂我,我不怪你》
每个人都有一个死角,自己走不出来,别人也闯不进去。我把最深沉的秘密放在那里。你不懂我,我不怪你。每个人都有一道伤口,或深或浅,盖上布,以为不存在。我把最殷红的鲜血涂在那里。你不懂我,我不怪你。每个人都有一场爱恋,用心、用情、用力,感动也感伤。我把最炙热的心情藏在那里。你不懂我,我不怪你。每个人都有一行眼泪,喝下的冰冷的水,酝酿成的热...
2016-12-13 13:58:00
101
转载 哆啦A梦 canvas
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> <...
2016-12-06 15:45:00
235
转载 一些不错的学习资料(node)
Node.js的api中文文档http://expressjs.jser.us/关于Node.js的一系列不错的学习文章http://blog.fens.me/express框架的使用http://javascript.ruanyifeng.com/nodejs/express.htmljavascript的基础详细入门标准http://javascript....
2016-11-30 17:18:00
119
转载 拖动调整显示框的显示区域大小
<!DOCTYPE html><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>例子</title> <style> ul,li{margin:...
2016-10-10 17:16:00
262
转载 HTTP权威指南
<iframe width='738' height='523' class='preview-iframe' scrolling='no' frameborder='0' src='http://download.csdn.net/source/preview/8001171/b792579bbec9d2e625db5e84262bf96b' ></iframe>...
2016-10-10 14:55:00
122
转载 input自动获取焦点
<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>test javascript</title> <script type="text/javascript"> window.onload = functio...
2016-09-09 18:12:00
97
转载 元素JS拖动的实现
涉及到了几个位置的属性offset clientX cilentY 等$(selector).on("mousedown",function (e){ var x = e.clientX - $("#mod").offset().left; var y = e.clientY - $("#mod").offset().top; document.onmous...
2016-09-07 14:44:00
63
转载 手机端html5触屏事件(touch事件)
touchstart:触摸开始的时候触发touchmove:手指在屏幕上滑动的时候触发touchend:触摸结束的时候触发而每个触摸事件都包括了三个触摸列表,每个列表里包含了对应的一系列触摸点(用来实现多点触控):touches:当前位于屏幕上的所有手指的列表。targetTouches:位于当前DOM元素上手指的列表。changedTouches:涉及当前事件手...
2016-08-31 10:39:00
144
转载 APP自适应的例子
<!DOCTYPE html><html lang="zh"><head> <meta charset="UTF-8"> <title>rem phone test</title> <meta name="viewport" content="user-scalable=no, initial...
2016-07-27 14:20:00
117
转载 JS和CSS关于大小写的区分
方法:document.getElementById("xx").style.xxx中的所有属性是什么盒子标签和属性对照CSS语法(不区分大小写)JavaScript语法(区分大小写)borderborderborder-bottomborderBottomborder-bottom-colorborderBot...
2016-07-27 10:24:00
127
转载 滚动条相关整理
IE下的滚动条样式IE是最早提供滚动条的样式支持,好多年了,但是其它浏览器一直没有支持,IE独孤求败了。这些样式规则很简单:scrollbar-arrow-color: color; /*三角箭头的颜色*/scrollbar-face-color: color; /*立体滚动条的颜色(包括箭头部分的背景色)*/scrollbar-3dlight-color: colo...
2016-07-13 11:33:00
94
转载 文本域的高度自适应
<textarea maxlength="100" class="text" data-adaptheight rows="3" cols="40" placeholder="Your input" style="padding: 16px; line-height: 1.5;"></textarea><script> (fun...
2016-07-12 18:03:00
123
转载 导入谷歌地图(参考其他文献,个人整理)
<!DOCTYPE html><html><head><script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDY0kkJiTPVd2U7aTOAwhc9ySH6oHxOIYM&sensor=false"></script><script>f...
2016-06-22 15:49:00
527
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人