摘要:
svg.append('path').attr({ id: 'mypath', d: 'M50 100Q350 50 350 250Q250 50 50 250' })path 的指令有:指令 参数 指令说明M x y 起始点的 x, y 座标(move... 阅读全文
摘要:
1 事件注册 2 3 平常我们绑定事件的时候用dom.onxxxx=function(){}的形式 4 这种方式是给元素的onxxxx属性赋值,只能绑定有一个处理句柄。 5 但很多时候我们需要绑定多个处理句柄到一个事件上,而且还可能要动态的增删某个处理句柄 6 下面的事件注册... 阅读全文
摘要:
先删除所有主键alter table tableName drop primary key;然后添加主键alter table tableName primary key(id);//如果是联合主键,则用逗号分隔,如 (id,code,card); 阅读全文
摘要:
来源:http://www.centoscn.com/CentOS/2014/0708/3268.html下载CentOS-7.0-1406的时候,有很多可选则的版本,对于初学者来说,不知道选择哪个好,下面做一下简单介绍:CentOS-7.0-1406 本站下载地址:http://www.cento... 阅读全文
摘要:
PHPIniDir "D:/php-5.3.5"LoadModule php5_module "D:/php-5.3.5/php5apache2_2.dll"AddType application/x-httpd-php .php 阅读全文
摘要:
var treeObj = $.fn.zTree.getZTreeObj("treeDemo");var node = treeObj.getNodeByParam("id", "370000");treeObj.selectNode(node);setting.callback.onClick =... 阅读全文
摘要:
//首先将折线上的坐标点存入一个数组中var arr = [pt1,pt2,pt3], brr = [], i = 0;while(i < arr.length){ //这样可以按照画线的顺序获取相邻的两个坐标点 var p1 = arr[i+1], p2 = ... 阅读全文
摘要:
distanceTo: function(point) { var distance = 0.0; if ((this.x != null) && (this.y != null) && (point != null) && (point.x != null) && (point.... 阅读全文
摘要:
a.html hello world!!! b.html 哈哈点击 阅读全文
摘要:
进入BIOS - Security - Virtualization - Intel (R)Virtualization Technology 将 Disabled 改为 Enabled 即可 阅读全文
摘要:
打开注册表HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink在右侧找到Microsoft YaHei 双击或者右键修改,然后在最后一行输上BATANG.TTC.Batang 重启电脑即... 阅读全文
摘要:
按照 Name 的名字分组,对 Value 值为 0 和 1 的个数进行统计select name,sum(case value when 0 then 1 else 0 end) value0,sum(case value when 1 then 1 else 0 end) value1 from... 阅读全文