smelikecat

导航

08 2014 档案

Internal Server Error - http code 500
摘要:Eror Example 1 : 阅读全文

posted @ 2014-08-26 19:51 smelikecat 阅读(209) 评论(0) 推荐(0)

字体收集
摘要:1. Georgia,"Times New Roman",Times,serif2. 'Open Sans', Arial, sans-serif 阅读全文

posted @ 2014-08-20 19:15 smelikecat 阅读(137) 评论(0) 推荐(0)

Create a site by Google Site - All Free
摘要:Follow this link : https://www.google.com/sites/help/intl/en/overview.html 阅读全文

posted @ 2014-08-20 18:26 smelikecat 阅读(158) 评论(0) 推荐(0)

[转载]HTML5游戏前端开发秘籍
摘要:http://isux.tencent.com/html5-game-development-cheats.html转载至腾讯ISUXHTML5游戏前端开发秘籍本文由米随随编写QQ空间Android版4.2和4.5上线的玩吧游戏“空间疯狂套牛”是一款使用HTML5开发出的手机游戏,虽然还有很多不足,... 阅读全文

posted @ 2014-08-20 10:24 smelikecat 阅读(263) 评论(0) 推荐(0)

How to create a Multi-device Site - some details
摘要:https://developers.google.com/web/fundamentals/getting-started/your-first-multi-screen-site/index?hl=en Definning the information architecture (common... 阅读全文

posted @ 2014-08-19 11:45 smelikecat 阅读(187) 评论(0) 推荐(0)

Create Your Content and Structure
摘要:The original page sourceContent is the most important aspect of any site. So let's design for the content and not let the design dictate(命令) the conte... 阅读全文

posted @ 2014-08-19 11:44 smelikecat 阅读(219) 评论(0) 推荐(0)

Media Queries简单案例一
摘要:案例一: 1 2 3 4 5 6 test 7 22 23 24 Media Queries25 26 wrapper27 28 ... 阅读全文

posted @ 2014-08-13 12:20 smelikecat 阅读(177) 评论(0) 推荐(0)

[翻译]CSS3 Media Queries
摘要:Media Queries Official Manual:http://www.w3.org/TR/css3-mediaqueries/原文链接:http://www.smashingmagazine.com/2010/07/19/how-to-use-css3-media-queries-to-... 阅读全文

posted @ 2014-08-12 18:26 smelikecat 阅读(197) 评论(0) 推荐(0)

Window 64bit环境搭建Web Starter Kit
摘要:最近在学习https://developers.google.com/web/fundamentals/这里的内容,其中就有一部分是安装Web Starter Kit的教程,我总结一下自己的安装过程。我的大部分安装步骤都是按照这篇文章的步骤一步一步进行的,唯一遇到的问题就是在gulp serve时出... 阅读全文

posted @ 2014-08-11 18:03 smelikecat 阅读(531) 评论(0) 推荐(0)

移动端与PC端的viewport
摘要:第一种解析:设备像素,就是我们直觉上觉得"靠谱"的像素,这些像素为所使用的各种设备提供了正规的分辨率,并且其值可以通过(通常情况下)从screen.width/height属性中读出;css像素,就是css自定义的像素,需要注意的是css像素与设备像素不是一回事; 第二种解析:CSS pixe... 阅读全文

posted @ 2014-08-09 13:16 smelikecat 阅读(445) 评论(0) 推荐(0)

使用for in循环遍历json对象的数据
摘要:使用for in遍历json对象数据,如果数据中的名称有为数字的话,只对正整数有效,那么先会输出为正整数的数据,后面其他的会按照原来数据中定义的顺序不变输出。针对名称为数字的json对象数据进行测试,代码如下:针对名称为字符串的json对象数据进行测试,代码如下:var json_data = {"... 阅读全文

posted @ 2014-08-08 18:24 smelikecat 阅读(2804) 评论(0) 推荐(0)

Ajax请求php返回json对象数据中包含有数字索引和字符串索引,在for in循环中取出数据的顺序问题
摘要://php中的数组数据格式Array( [all] => Array ( [title] => ALL [room_promotion_id] => all ) [best_available_rate] => Ar... 阅读全文

posted @ 2014-08-08 17:20 smelikecat 阅读(799) 评论(0) 推荐(0)

smarty-2014-02-28
摘要:使用smarty,在tpl文件中如何使用相对路径调用css&javascript文件,实际上这个相对路径的参照物就是以调用该tpl文件的php文件来写。 假如,我在index.php这个文件中调用template/index.tpl,那么index.tpl里面使用的css&javascript文件的... 阅读全文

posted @ 2014-08-06 15:40 smelikecat 阅读(115) 评论(0) 推荐(0)