博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2014年2月17日

摘要: // JavaScript Document//图片横向滚动// 2012-1-12 zhx 改版 改为调用方法 调用参数为元素名称//name 控件名称//direction 滚动方向 暂时支持:up left//speed 滚动延迟时间 数字越大速度越慢 默认为30function horizontal_pic_scroll(name, direction, speed) { if (document.getElementById(name) && document.getElementById(name + "1") && docume 阅读全文

posted @ 2014-02-17 17:31 奋斗ITan_yxing 阅读(61) 评论(0) 推荐(0) 编辑

2013年6月25日

摘要: 用电脑的程式直接打开文件:System.Diagnostics.ProcessStartInfo Info = new System.Diagnostics.ProcessStartInfo(); //设置外部程序名 Info.FileName = "新建 Microsoft Word 文档.doc"; //设置外部程序工作目录为 Info.WorkingDirectory = @"C:\Users\Administrator\Desktop"; //最小化方式启动 Info.WindowStyle = System.Diagnostics.Proces 阅读全文

posted @ 2013-06-25 12:29 奋斗ITan_yxing 阅读(190) 评论(0) 推荐(0) 编辑

2013年2月19日

摘要: 自学jquery的时候,看到一英文词(Callback),顿时背部隐隐冒冷汗。迅速google之,发现原来中文翻译成回调。也就是回调函数了。不懂啊,于是在google回调函数,发现网上的中文解释实在是太“深奥”了,我承认自己才疏学浅了。看了几个回调的例子后,貌似有点理解了。下面是我对回调函数的理解,要是理解错了,请指正,不甚感激。 首先还是从jquery网站上的英文定义入手,身为国人,我真感到悲剧。一个回调的定义被国内的“高手”解释成什么样,就在那绕圈子,貌似只有把你绕进去了,他才算高手。浮云,一切都是浮云。A callback is a function that is passed a.. 阅读全文

posted @ 2013-02-19 11:53 奋斗ITan_yxing 阅读(253) 评论(0) 推荐(0) 编辑

摘要: //定义XMLHttp实例var xmlHttp;function createXMLHttpRequest(){//开始初始化XMLHttpRequest对象if(window.ActiveXObject){//IE浏览器xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");}else if(window.XMLHttpRequest){//Mozilla浏览器xmlHttp = new XMLHttpRequest();}if(xmlHttp){xmlHttp.open("GET",url,false);x 阅读全文

posted @ 2013-02-19 11:50 奋斗ITan_yxing 阅读(161) 评论(0) 推荐(0) 编辑

2012年11月29日

摘要: //NPOIHelper 类关键代码using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.IO;using NPOI.HSSF.UserModel;using System.Collections;using System.Web;namespace Yikeba_htmlConverter{ public class NPOIHelper { /// <summary> /// 列名集合 /// </su 阅读全文

posted @ 2012-11-29 11:58 奋斗ITan_yxing 阅读(2000) 评论(8) 推荐(1) 编辑

2012年11月16日

摘要: str=str.replace(/\"/g,"");//正则去除字符串中的双引号//用正则取地址栏参数 function GetQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if (r != null) return unescape(r[2]); return null; } //限制文本框 阅读全文

posted @ 2012-11-16 12:00 奋斗ITan_yxing 阅读(293) 评论(0) 推荐(0) 编辑

2012年10月30日

摘要: ajax的get和post的两种提交方式 阅读全文

posted @ 2012-10-30 18:08 奋斗ITan_yxing 阅读(61) 评论(0) 推荐(0) 编辑

摘要: 阅读全文

posted @ 2012-10-30 10:14 奋斗ITan_yxing 阅读(60) 评论(0) 推荐(0) 编辑

2012年10月23日

摘要: CruiseControl.NET 阅读全文

posted @ 2012-10-23 18:53 奋斗ITan_yxing 阅读(459) 评论(1) 推荐(0) 编辑

摘要: VisualSVN 阅读全文

posted @ 2012-10-23 18:04 奋斗ITan_yxing 阅读(2477) 评论(11) 推荐(11) 编辑