随笔 - 11  文章 - 2  评论 - 1
摘要: 1 2 3 4 5 6 7 Hello World 8 9 10 11 12 13 14 15 16 17 Toggle navigation18 ... 阅读全文
posted @ 2015-09-23 15:28 Double405 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 1xx 临时响应;2xx 成功;3xx 重定向; 4xx 请求错误; 5xx 服务器错误;http://www.hostspaces.net/wenzhang-detail.php?id=198常见的几种状态码我们在打开网站或者进行日志分析时通常会遇到200,404,503等代码,其中200表示的是... 阅读全文
posted @ 2015-07-24 20:49 Double405 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 在 Web 开发中经常会碰到需要动态监听输入框值变化的情况,如果使用onkeydown、onkeypress、onkeyup 这个几个键盘事件来监测的话,监听不了右键的复制、剪贴和粘贴这些操作,处理组合快捷键也很麻烦。因此这篇文章向大家介绍一种完美的解决方案:结合 HTML5 标准事件 oninpu... 阅读全文
posted @ 2015-07-10 23:27 Double405 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 完美运动框架,包括有style和opacity的样式实现//以下是运动框架的内容function getStyle(obj, name){ if(obj.currentStyle) //仅IE { return obj.currentStyle[name]; } ... 阅读全文
posted @ 2015-07-10 21:12 Double405 阅读(223) 评论(0) 推荐(0) 编辑
摘要: html代码如下: <!DOCTYPE html> <HTML> <HEAD> <TITLE> New Document </TITLE> <META charset="utf-8"> <script src="js/jquery.js" type="text/javascript"></scrip 阅读全文
posted @ 2015-07-10 17:40 Double405 阅读(252) 评论(0) 推荐(0) 编辑
摘要: HTML页面加载和解析流程 用户输入网址(假设是个html页面,并且是第一次访问),浏览器向服务器发出请求,服务器返回html文件; 浏览器开始载入html代码,发现<head>标签内有一个<link>标签引用外部CSS文件; 浏览器又发出CSS文件的请求,服务器返回这个CSS文件... 阅读全文
posted @ 2015-07-10 17:30 Double405 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-07-10 16:23 Double405 阅读(249) 评论(0) 推荐(0) 编辑
摘要: <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus®"> <meta name="Author" content="Create by doub 阅读全文
posted @ 2015-07-09 23:42 Double405 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 1 var a = (function() { 2 return typeof arguments; 3 })(); 4 alert(a); //Object 5 6 var b = (function(x) { 7 ... 阅读全文
posted @ 2015-07-08 22:52 Double405 阅读(165) 评论(0) 推荐(0) 编辑
摘要: sql代码如下:统计重复的数据select MingCheng from tabShouFeiGongShi group by MingCheng having count(MingCheng) >= 2select * from (select *from tabShouFeiGongShiwhe... 阅读全文
posted @ 2015-07-08 12:03 Double405 阅读(2872) 评论(0) 推荐(0) 编辑