jquery mobile笔记
jquery mobile 1.4.5 定义页面 <div id="page1" data-role="page" data-title="页面title"> <div data-role="header">头部</div> <div data-role="content"> 内容 </div> <div data-role="footer">底部</…
664 2016-08-02 去围观IE8 CSS hack只有IE8浏览器能识别
第一种:”\9″: 基本的写法: 1..test { color/*\**/: blue\9 } 这个IE6、IE7、IE8都能识别;但是IE8不能识别“*”和“_”的css hack;所以我们可以这样写hack:(转载 1..header {width:300px;} /* 所有浏览器*/ 2..header {width/*\**/:330px\9;} /* …
765 2016-07-31 去围观jade笔记模板教程
nodejs模板 ejs *注意学习使用jade模板时要注意元素的缩进和空格,否则会出错。 代码概况 doctype html head title #{title} script(type='text/javascript'). alert(1); style. body{background: red;} body div#con…
639 2016-07-26 去围观在nodejs中什么是回调
在nodejs中处处是异步,由于异步的优点就是无阻塞。但是有时候我们需要处理异步返回的结果这时候我们就不需要异步的特性了而是需要同步的特性,所以需要一个回调函数。 回调就是解决异步函数返回数据的处理方法。
596 2016-07-23 去围观