上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页
  2014年10月21日
摘要: 转自:http://www.cnblogs.com/zhujl/archive/2012/03/20/2408976.html高度自适应问题,我很抵触用js去解决,因为不好维护,也不够自然,但是纯用CSS,难度不小,比如下面我要说的例子。需求:1. 这个矩形的高度和浏览器窗口的高度相同,不能出现纵向... 阅读全文
posted @ 2014-10-21 15:37 yoyo002 阅读(122254) 评论(10) 推荐(11) 编辑
  2014年9月27日
摘要: http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html需要注册账户才能下载,注册页面不是很友好,密码需要大小写都有:下面是登陆后得到的下载链接jdk-7u21... 阅读全文
posted @ 2014-09-27 11:00 yoyo002 阅读(352) 评论(0) 推荐(0) 编辑
  2014年9月11日
摘要: openlayers3使用了一个比较复杂的build工具,从github上下载下来的代码中并没有build之后的版本,要配置build环境又比较繁琐,好在官方的example中提供了在线的版本,下面就是link:http://openlayers.org/en/v3.0.0/build/ol.jsh... 阅读全文
posted @ 2014-09-11 23:18 yoyo002 阅读(850) 评论(1) 推荐(0) 编辑
  2014年7月25日
摘要: svg中的主要用来做分组的定位,使用transform="translate(xOffset,yOffset)" 更改起始坐标。transform中的坐标是相对父节点进行偏移的。 阅读全文
posted @ 2014-07-25 16:17 yoyo002 阅读(106) 评论(0) 推荐(0) 编辑
  2014年7月23日
摘要: d3.max = function(array, f) {var i = -1, n = array.length, a, b;if (arguments.length === 1) {//取数组中第一个非undefined数值while (++i a) a = b;} else {while (... 阅读全文
posted @ 2014-07-23 14:34 yoyo002 阅读(443) 评论(1) 推荐(0) 编辑
摘要: define([ "dojo/_base/declare" ],function( declare ){ var TimeChartService = declare("Service.TimeChartService",[],{ constructor:fu... 阅读全文
posted @ 2014-07-23 10:45 yoyo002 阅读(250) 评论(0) 推荐(0) 编辑
  2014年7月2日
摘要: 取Sevice和directive的引用3: Grab any ServicesWe can grab a reference to any service using theinjectorfunction of element wherengAppwas defined (or grab the... 阅读全文
posted @ 2014-07-02 13:30 yoyo002 阅读(391) 评论(0) 推荐(0) 编辑
摘要: http://ionicframework.com/blog/angularjs-console/1: Access ScopesWe can access any scope (even isolated ones!) on the page with a simple JS one-liner:... 阅读全文
posted @ 2014-07-02 13:27 yoyo002 阅读(4812) 评论(0) 推荐(0) 编辑
  2014年6月26日
摘要: 1、 下载源码包http://nodejs.org/dist/v0.10.29/node-v0.10.29.tar.gz2、准备安装环境,>python2.6, gcc, g++ python redhat自带了不用装, gcc: yum install -y gcc gcc-c++3、 ta... 阅读全文
posted @ 2014-06-26 16:01 yoyo002 阅读(956) 评论(0) 推荐(0) 编辑
  2014年5月31日
摘要: var URL_REGEXP = /^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/;var EMAIL_REGEXP = /^[a-z0-9!#$%&'*+/=?^_`{|}~.... 阅读全文
posted @ 2014-05-31 12:09 yoyo002 阅读(540) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页