摘要: 前端优秀活跃资源收集: https://github.com/jikeytang/front-end-collect https://github.com/AutumnsWind/Front-end-tutorial https://github.com/JacksonTian/fks https: 阅读全文
posted @ 2015-04-12 18:39 前端丶守望者 阅读(497) 评论(1) 推荐(0)
摘要: 在线API文档:http://tool.oschina.net/apidocs Web 前端开发规范:http://www.html5cn.org/article-8716-1.html http://zhibimo.com/read/Ashu/front-end-style-guide/ 腾讯编码 阅读全文
posted @ 2015-04-12 18:38 前端丶守望者 阅读(522) 评论(0) 推荐(0)
摘要: HTML5+CSS3整体回顾:http://www.jianshu.com/p/c3e1e39890fb?utm_medium=hao.caibaojian.com&utm_source=hao.caibaojian.com HTML5 Audio/Video 标签,属性,方法,事件汇总:http: 阅读全文
posted @ 2015-04-12 18:01 前端丶守望者 阅读(361) 评论(0) 推荐(0)
摘要: 移动Web资源管理:http://www.cnblogs.com/PeunZhang/p/3407453.html#question_17 Web App优化整理:http://www.cnblogs.com/yexiaochai/p/3759959.html web移动端常见问题解决方案:http 阅读全文
posted @ 2015-04-12 18:00 前端丶守望者 阅读(4394) 评论(0) 推荐(3)
摘要: bootstrap的基本使用: http://jingyan.baidu.com/article/624e7459ad0bed34e8ba5a13.html 有关 Bootstrap 你想要知道的都在这里:http://gold.xitu.io/entry/582123a8a22b9d0067db8 阅读全文
posted @ 2015-04-12 17:58 前端丶守望者 阅读(951) 评论(1) 推荐(0)
摘要: CSS自定义上传文件按钮样式:http://www.alleyloft.com/contents/share?id=14 input type = “file”文件选择表单元素二三事:http://www.zhangxinxu.com/wordpress/2015/11/html-input-typ 阅读全文
posted @ 2015-04-12 17:57 前端丶守望者 阅读(379) 评论(0) 推荐(0)
摘要: <div class="slider_nav"> <ul> <li><a href="#"><img src="images/1.jpg" alt="" src_2="images/2.jpg" /></a></li> <li><a href="#"><img src="images/3.jpg" 阅读全文
posted @ 2015-04-12 17:55 前端丶守望者 阅读(998) 评论(0) 推荐(0)
摘要: 参考博客:http://www.cnblogs.com/lhb25/archive/2012/11/30/oninput-and-onpropertychange-event-for-input.html 阅读全文
posted @ 2015-04-12 17:53 前端丶守望者 阅读(197) 评论(0) 推荐(0)
摘要: jquery实现元素居中插件: (function($){ $.fn.vhAlign = function(){ return this.each(function(i){ //获取元素的内容高度 var h = Math.ceil($(this).height()); //outerHeight= 阅读全文
posted @ 2015-04-12 17:53 前端丶守望者 阅读(2176) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>idCode</title> <style> .code{ font-family:Arial; font-style:italic; color:red; border:0; p 阅读全文
posted @ 2015-04-12 17:51 前端丶守望者 阅读(335) 评论(1) 推荐(0)
摘要: 如何挑选适合的前端框架:http://www.html5cn.org/article-8120-1.html 前端工程(基础篇):http://www.w3cplus.com/front-end-engineering-part-1.html 前端网页性能最佳实践:http://www.cnblog 阅读全文
posted @ 2015-04-12 17:50 前端丶守望者 阅读(644) 评论(0) 推荐(0)
摘要: 关于querySelector可能让你意外的特性:http://www.zhangxinxu.com/wordpress/2015/11/know-dom-queryselectorall/ document.querySelector("body");//返回body节点 document.que 阅读全文
posted @ 2015-04-12 17:49 前端丶守望者 阅读(2047) 评论(0) 推荐(0)
摘要: jQuery解析Json详解:http://www.cnblogs.com/madyina/p/3448518.html json在线校验工具:http://jsonlint.com/ 阅读全文
posted @ 2015-04-12 17:48 前端丶守望者 阅读(6075) 评论(0) 推荐(0)
摘要: jQuery Plugins官网:http://plugins.jquery.com/ jQuery myPlugins官网:http://www.myjqueryplugins.com/ jQuery插件库:http://www.jq22.com/ jQuery之家:http://www.html 阅读全文
posted @ 2015-04-12 17:46 前端丶守望者 阅读(339) 评论(0) 推荐(0)
摘要: jQuery.form.js插件(博客参考): http://blog.csdn.net/zzq58157383/article/details/7718956 http://www.cnblogs.com/heyuquan/p/form-plug-async-submit.html ajax分页: 阅读全文
posted @ 2015-04-12 17:45 前端丶守望者 阅读(186) 评论(0) 推荐(0)
摘要: 参考网址:http://www.cnblogs.com/wayou/p/jquery_plugin_tutorial.html 深入理解jQuery插件开发:http://blog.jobbole.com/30550/ 完整插件demo: / ** * 表格隔行变字体颜色和背景颜色,鼠标移入移出变字 阅读全文
posted @ 2015-04-12 17:44 前端丶守望者 阅读(236) 评论(0) 推荐(0)
摘要: BFC(块级格式化上下文):http://kayosite.com/block-formatting-contexts-in-detail.html1、BFC 会阻止外边距折叠2、BFC 可以包含浮动的元素3、BFC 可以阻止元素被浮动元素覆盖4、IE6、7不支持BFC,可以使用zoom:1触发ha... 阅读全文
posted @ 2015-04-12 17:43 前端丶守望者 阅读(962) 评论(0) 推荐(0)
摘要: 1. head里的顺序如下,考虑会对请求有何影响: a. 外部js在css前面 <script src="1.js"></script> <link rel="stylesheet" type="text/css" href="1.css?sleep=5s"> <linkrel="styleshee 阅读全文
posted @ 2015-04-12 17:42 前端丶守望者 阅读(522) 评论(0) 推荐(0)
摘要: javascript版:function getLength(str){ //检测输入字符的字符串长度 return str.replace(/[^\x00-xff]/g,"xx").length;//}function findStr(str,n){ //比较字符是否相同 var... 阅读全文
posted @ 2015-04-12 17:36 前端丶守望者 阅读(229) 评论(0) 推荐(0)
摘要: javascript版:window.onload = function(){ prepareDate();}function prepareDate(){ if(!document.getElementBy Id ) return false; if(!document.getE... 阅读全文
posted @ 2015-04-12 17:35 前端丶守望者 阅读(635) 评论(0) 推荐(0)
摘要: 正则表达式30分钟入门教程:http://deerchao.net/tutorials/regex/regex.htm js正则表达式方式总结:http://bbs.html5cn.org/thread-86756-1-1.html 65条最常用正则表达式:http://www.w3cfuns.co 阅读全文
posted @ 2015-04-12 17:15 前端丶守望者 阅读(365) 评论(0) 推荐(0)
摘要: 浏览器的内核是多线程的,它们在内核制控下相互配合以保持同步,一个浏览器至少实现三个常驻线程:javascript引擎线程,GUI渲染线程,浏览器事件触发线程。 javascript执行顺序:http://bbs.html5cn.org/thread-80116-1-1.html JS一定要放在Bod 阅读全文
posted @ 2015-04-12 17:14 前端丶守望者 阅读(6135) 评论(0) 推荐(1)
摘要: 点击我 1.event.stopPropagation(); 事件处理过程中,阻止了事件冒泡,但不会阻止默认行为(它就执行了超链接的跳转) 2.return false; 事件处理过程中,阻止了事件冒泡,也阻止了默认行为(比如刚才它就没有执行... 阅读全文
posted @ 2015-04-12 17:10 前端丶守望者 阅读(837) 评论(0) 推荐(0)
摘要: jQuery代码规范:http://bbs.html5cn.org/thread-86001-1-1.html jQuery代码规范:http://bbs.html5cn.org/thread-86001-1-1.html jQuery教程学习网:http://jqfundamentals.com/ 阅读全文
posted @ 2015-04-12 17:05 前端丶守望者 阅读(461) 评论(0) 推荐(0)
摘要: 转载网址:http://www.cnblogs.com/developersupport/p/3491370.html一、 让代码简洁:一些简略的表达方式也会产生很好的优化eg:x=x+1;在不影响功能的情况下可以简写为x++;二、 变量名方法名尽量在不影响语意的情况下简单。(可以选择首字母命名)e... 阅读全文
posted @ 2015-04-12 17:03 前端丶守望者 阅读(207) 评论(0) 推荐(0)
摘要: 原生javascript替代jQuery选择器写法:http://caibaojian.com/toutiao/5264?wb为了达到平稳退化,向后兼容,标记分离的思想,每次写js代码时做的第一件事应该是必要的测试和检查工作: 在js文件里首先添加以下代码进行检查: window.onload = 阅读全文
posted @ 2015-04-12 17:02 前端丶守望者 阅读(312) 评论(0) 推荐(0)
摘要: javascript标准参考教程:http://javascript.ruanyifeng.com/ 学习JavaScript参考博客:http://www.cnblogs.com/jikey/p/4039740.html 前端JavaScript规范:http://www.imooc.com/ar 阅读全文
posted @ 2015-04-12 17:01 前端丶守望者 阅读(344) 评论(0) 推荐(0)
摘要: CSS3动画手册:https://isux.tencent.com/css3/index.html?transform CSS3实现水平垂直居中:http://bbs.html5cn.org/thread-87300-1-1.html http://www.w3cplus.com/css/cente 阅读全文
posted @ 2015-04-12 16:58 前端丶守望者 阅读(195) 评论(0) 推荐(0)
摘要: 在CSS中,会根据选择器的特殊性来决定所定义的样式规则的次序,具有更特殊选择器的规则优先于具有一般选择器的规则,如果两个规则的特殊性相同,那么后定义的规则优先。我们把特殊性分为4个等级,每个等级代表一类选择器,每个等级的值为其所代表的选择器的个数乘以这一等级的权值,最后把所有等级的值相加得出选择器的... 阅读全文
posted @ 2015-04-12 16:55 前端丶守望者 阅读(136) 评论(0) 推荐(0)
摘要: <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />这行代码是永远以最新的IE版本模式来显示网页,使IE支持HTML5。 <meta name="renderer" content="webkit|ie-comp|ie-st 阅读全文
posted @ 2015-04-12 16:52 前端丶守望者 阅读(2233) 评论(0) 推荐(0)
摘要: 盒子3D模型(由外到内):border(边框)>content-padding(内边距)>background-image(背景图像)>background-color(背景颜色)>margin(外边距) 盒子尺寸大小 = 边框+外边距+内边距+盒子里的内容大小 稳定性最好的就是盒子本身的高度和宽度 阅读全文
posted @ 2015-04-12 16:49 前端丶守望者 阅读(490) 评论(0) 推荐(0)
摘要: 注重结构与样式的分离: 1.先按结构和语义编写代码 2.然后进行CSS样式设置 3.减少HTML与CSS的契合度 javascript使用注意事项: 1.平稳退化 2.向CSS学习:分离javascript 3.向后兼容 4.性能考虑:尽量减少访问DOM和标记,合并和放置脚本,压缩并优化脚本 如果不 阅读全文
posted @ 2015-04-12 16:47 前端丶守望者 阅读(262) 评论(0) 推荐(0)
摘要: 1. 通读权威指南。不要瞎读,外面烂书太多。倒不是说烂书学不到知识,它们之所以是烂书,是因为它们缺乏一种“正确的价值观”。什么是卓越的方法,什么是优雅的代码,这些都是有“品味”和“格调”的。由于我近期看的书不多,也不想为别人打广告,所以我只能给出一个简单但绝对不会错的答案:看《权威指南》。 2. 多 阅读全文
posted @ 2015-04-12 16:45 前端丶守望者 阅读(774) 评论(1) 推荐(0)