自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

DAYU

blog

  • 博客(16)
  • 资源 (1)
  • 收藏
  • 关注

原创 html dom渲染成图片

html dom渲染成图片在项目中遇到一个问题,因为table信息过多导致table宽度过宽,需要频繁展示信息时就会很麻烦。这时添加了一个功能将通过canvas将table渲染成图片供下载或新页面打开。 当需要渲染的element宽度不是很大时,渲染很正常。例子:http://jsfiddle.net/mceyg7ky/但是当element被嵌套在块中且它的大小过大无法完全展现时会出现截图截不全的

2015-07-16 18:27:45 1718

原创 $location.url() 失效,跳转不了。。。

$scope.checkCode=function(LinePoint){ if($scope.pwd){ // 判断旧密码是否正确 if(arrayToString(LinePoint)==$scope.pwd){ $location.url("/setting"); }else{

2015-04-27 10:47:18 3131

原创 ionic对安卓返回和退出的处理

ionic应用中默认安卓返回键响应的事件是按照ionic访问页面的顺序回退页面。当在应用访问多个页面后按返回键,ionic会按照页面访问的顺序逐一返回每个访问过的页面。。。遇到这样的体验,最想做的就是砸掉手机(/TДT)/ ![这里写图片描述]=(http://chuang.u.qiniudn.com/xiongda520_key@2x.png) 这种情况可以通过ionic的registerB

2015-04-07 10:17:01 8065 4

原创 ionic应用通过cordova拨打电话的实现

公司有个ionic项目,有个功能是调用手机系统打电话。刚开始在网上找的解决方案都是调用java写的cordova插件。在网上找的插件总是有点问题,公司对安卓又不熟所以就放弃了这种方法。后来又想到了用HTML5的 <a href="tel:110"></a> 实现,可这种方式在网页中可以使用封装后却无法使用。google一下终于找到了解决方案。 在cordova中所有的URL Schemes 都是服

2015-04-03 15:05:40 6398 2

原创 ERROR: Error: Please install Android target "android-19".

ionic,cordova已安装 确认已安装了android19 各种path都配置好,可还是报这个错:ERROR: Error: Please install Android target "android-19".真是哔了狗了终于在这儿找到了解决方法 http://stackoverflow.com/questions/23639308/cordova-3-4-0-install-erro

2015-03-30 13:38:03 1449

原创 7天学会nodejs 笔记

原文:http://nqdeng.github.io/7-days-nodejs/模块requirerequire用于在当前模块中加载和使用别的模块,传入一个对象名,返回一个模块导出对象。模块名可以使用相对路径和绝对路径。(当用require调用模块时,无论模块被调用多少次,它只会被初始化一次。)exportsexports对象是当前模块的导出对象,用于导出模块共有方法和属性。exports.hel

2015-03-18 15:12:33 721

转载 codeopen test

See the Pen angularjs Tabs by DAYU (@dayu) on CodePen.

2015-03-17 17:01:56 393

转载 C# 使用打印

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;using System.Text;using System.Threading.Task

2014-03-30 13:57:55 462

转载 C# 操作键盘及鼠标

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.W

2014-03-30 13:46:42 644

转载 C#使用剪贴板

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.W

2014-03-29 16:04:19 547

转载 C#简单文件管理器的实现

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Text;using System.Windows.Forms;namespace SimpleF

2014-03-29 15:42:35 3086 1

转载 为应用提供文件的拖放功能

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace AppDrag{ public par

2014-03-26 19:33:18 647

转载 树状视图拖放实现

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace DragTree{ public pa

2014-03-26 19:06:12 478

转载 C#简单记事本

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;using System.Text;using System.Threading.Task

2014-03-23 16:14:45 908

转载 TabControl实例

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.W

2014-03-23 14:14:24 746

转载 C#读取文本出现乱码

为StreamReader指定编码方式例如 StreamReader sTmp = new StreamReader(OpenFileDialog1.FileName, Encoding.Default);

2014-03-23 12:28:03 717

Android开发基础教案

Android开发基础教案,一些关于安卓的基础入门知识。

2013-03-21

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除