摘要: 不得不说够优雅,够内涵。这个东西是能够通过外围设定的fon-size设定大小的,也就是所谓的矢量图。另外这个东西后面如果有文本的话,需要在文本前面追加一个空格,来弥补一下padding(内补)。 Star挺帅的~Font Awesome 3.0的使用确实让人感到舒服: icon-camera-r... 阅读全文
posted @ 2014-05-27 11:57 VoctrALs 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 总觉得Form这个东西怎么弄都行,弄弄就知道越弄越难弄了。老实儿地学学bootstrap的做法吧,—.—!如下html表现为label在上,input在下的样式。form-group设置了margin,form-control控制的input等输入控件设置了其width为100%,这就导致了和lab... 阅读全文
posted @ 2014-05-27 11:20 VoctrALs 阅读(848) 评论(0) 推荐(0) 编辑
摘要: Tapestry的学习不得不停一下了。因为Bootstrap再一次引起了我的注意,并且我不得不再系统地学习它一次。1 bootstrap需要一个HTML5的环境,也就是说必须是: ...2 bootstrap3是移动设备优先的,需要指定一个meta信息,viewport,视角:3 响应式图片的加入... 阅读全文
posted @ 2014-05-27 09:53 VoctrALs 阅读(502) 评论(1) 推荐(0) 编辑
摘要: 文章摘自:http://blog.csdn.net/javaman_chen/article/details/9351237不得不说,人家总结的真好。。。1.Tapestry框架的加载是通过Filter来完成的,需要在web.xml中加入以下配置:[html]view plaincopyapporg... 阅读全文
posted @ 2014-05-11 14:05 VoctrALs 阅读(573) 评论(0) 推荐(0) 编辑
摘要: http://weizhifeng.net/immediately-invoked-function-expression.htmlvar f1 = function() { var res = []; var fun = null; for(var i = 0; i < 10; ... 阅读全文
posted @ 2014-05-07 15:22 VoctrALs 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 1 jQuery.fn.single_double_click = function(single_click_callback, double_click_callback, timeout) { 2 return this.each(function(){ 3 var clicks... 阅读全文
posted @ 2014-05-05 15:36 VoctrALs 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1 $() vs $$("someSelector") returns a array. This is defiend in jQuery.prototype.$.methodName is a method defined in jQuery...2methods below will stop... 阅读全文
posted @ 2014-05-05 13:27 VoctrALs 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 准备好了吗——一个7岁女孩将要让你自叹不如。我已忍不住内心的冲动,要告诉你们关于菲茨杰拉德的7岁女儿的故事。在花了一个小时学习编程后,她对编程得出了令人赞叹的体会。我们很幸运,这个聪明的小女孩把她的心得总结成了简洁明了的几个小点,所有的我们都应该停下手中的工作,来思考一下她写的内容。就是这张小纸片吗... 阅读全文
posted @ 2014-05-05 10:54 VoctrALs 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1 var sth = ""; //Global Scope2 var foo = function(){ var sth = ""; // Local Scope}3 var foo = function(){ sth = ""; // Global Scope, this isdefinit... 阅读全文
posted @ 2014-05-04 13:10 VoctrALs 阅读(205) 评论(0) 推荐(0) 编辑
摘要: ArraysArrays are zero-indexed, ordered lists of values. They are a handy way to store a set of related items of the same type (such as strings), thoug... 阅读全文
posted @ 2014-05-04 12:27 VoctrALs 阅读(174) 评论(0) 推荐(0) 编辑