摘要: http://www.cnblogs.com/fnng/archive/2012/12/29/2839420.html 阅读全文
posted @ 2017-09-05 16:52 TTTK 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 1: cookie 和 session 有什么区别。 Cookie 存在客户端, session 存在服务端, 浏览器通过cookie 向服务端传数据, cookie 有 大小和 数量的限制。 2: etag 是什么,解释一下。 Etag 是浏览器的缓存机制,服务器用它来判断一个静态资源是不是被修改,如果修改了,返回200 把新数据给它,如果没修改,返回304,浏览器就... 阅读全文
posted @ 2017-01-20 17:39 TTTK 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 99移动端知识集合:https://github.com/jtyjty99999/mobileTech 司徒正美移动端知识集合:https://github.com/RubyLouvre/mobileTech 优化移动体验的HTML5技巧:http://www.oschina.net/translate/mobile-app-optimization-and-performance HTM... 阅读全文
posted @ 2017-01-20 17:37 TTTK 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 验证码 获得验证码 阅读全文
posted @ 2017-01-20 15:05 TTTK 阅读(154) 评论(0) 推荐(0) 编辑
摘要: <script> window.onload = function(){ var oInput = document.querySelector('input'); var oSpan = document.querySelector('span'); oInput.onfocus = functi 阅读全文
posted @ 2017-01-20 13:53 TTTK 阅读(338) 评论(0) 推荐(0) 编辑
摘要: .attr(‘checked’): //看版本1.6+返回:”checked”或”undefined” ;1.5-返回:true或false .prop(‘checked’): //1.6+:true/false .is(‘:checked’): //所有版本:true/false//别忘记冒号哦 阅读全文
posted @ 2017-01-19 18:54 TTTK 阅读(404) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <style> ul{ list-style: none; } .menu{ display: none; } </style> <meta charset="UTF-8"> <title></title> </head 阅读全文
posted @ 2017-01-19 17:32 TTTK 阅读(585) 评论(0) 推荐(0) 编辑
摘要: 模仿百度搜索框 阅读全文
posted @ 2017-01-19 15:22 TTTK 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 热门搜索 阅读全文
posted @ 2017-01-19 13:44 TTTK 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 1.新闻标题一 2.新闻标题二 3.新闻标题三 4.新闻标题四 5.新闻标题五 &lt; &gt; 阅读全文
posted @ 2017-01-19 10:23 TTTK 阅读(187) 评论(0) 推荐(0) 编辑