游子日月长

笑渐不闻声渐悄,多情却被无情恼!

导航

11 2016 档案

Explode TArray
摘要:function Explode(const Separator, S: string; Limit: Integer = 0): TArray;var SepLen : Integer; F, P : PChar; ALen, Index : Integer;begin SetLength(Res 阅读全文

posted @ 2016-11-28 16:13 游子日月长 阅读(190) 评论(0) 推荐(0)

css设置中文字体(font-family:"黑体")后样式失效问题
摘要:做项目时偶遇的一诡异问题,同样的代码,在ff和IE7以上页面显示正常,但IE6无论怎么改都不起作用,本来以为是IE6的某些浮动bug所致,结果弄了很长时间也不行,后来不经意间把原来设定的font-family: "黑体"属性去掉了,一切恢复正常。。。到网上搜了下,还真有不少人遇到同样的问题,下面摘录 阅读全文

posted @ 2016-11-25 15:50 游子日月长 阅读(15326) 评论(0) 推荐(0)

javascript-lessons
摘要:https://github.com/stone0090/javascript-lessons 阅读全文

posted @ 2016-11-25 14:18 游子日月长 阅读(143) 评论(0) 推荐(0)

OfficeTools.OnlineEditWord
摘要:https://github.com/stone0090/OfficeTools.OnlineEditWord 阅读全文

posted @ 2016-11-25 14:17 游子日月长 阅读(195) 评论(0) 推荐(0)

OCX控件打包成CAB并实现数字签名过程
摘要:http://www.cnblogs.com/rushoooooo/archive/2011/06/22/2087542.html 阅读全文

posted @ 2016-11-25 14:16 游子日月长 阅读(159) 评论(0) 推荐(0)

delphi模拟按键精灵自动控制PDF页面自动扩边的源代码
摘要:需要的环境:Adobe Acrobat 7.0 Professional 和 Quite Imposing Plus 1.5d Acrobat plugin (qi160.exe) 程序界面: unit Unit1; interface uses Winapi.Windows, Winapi.Mes 阅读全文

posted @ 2016-11-25 11:24 游子日月长 阅读(438) 评论(0) 推荐(0)

js零碎代码片断(10)
该文被密码保护。

posted @ 2016-11-19 17:36 游子日月长 阅读(2) 评论(0) 推荐(0)

js零碎代码片断(9)
该文被密码保护。

posted @ 2016-11-17 14:50 游子日月长 阅读(2) 评论(0) 推荐(0)

使用css技术代替传统的frame技术
摘要:http://www.dynamicdrive.com/style/layouts/item/css-left-frame-layout/ <!--Force IE6 into quirks mode with this comment tag--><!DOCTYPE html PUBLIC "-/ 阅读全文

posted @ 2016-11-16 14:33 游子日月长 阅读(362) 评论(0) 推荐(0)

使用javascript对网页的部分内容进行打印
该文被密码保护。

posted @ 2016-11-16 14:31 游子日月长 阅读(0) 评论(0) 推荐(0)

delphi常用函数和方法
摘要:uses ShellApi, ActiveX, ComObj, ShlObj; function HasText(Text: string; const Values: array of string): Boolean; var i: Integer; begin Result := True; 阅读全文

posted @ 2016-11-16 10:05 游子日月长 阅读(307) 评论(0) 推荐(0)

js正则表达使用实例
摘要:(1)替换掉htmlStr中所有的<font..>和</font> var htmlstr='<font color="#fff">ABC</font><p>dfd</p><font color="#fff">EFG</font>';alert(htmlstr.replace(/<[^<>]*?fo 阅读全文

posted @ 2016-11-15 21:39 游子日月长 阅读(139) 评论(0) 推荐(0)

js异步加载管理和调用实例
该文被密码保护。

posted @ 2016-11-15 21:30 游子日月长 阅读(0) 评论(0) 推荐(0)

快速加载js文件的方法总结(1)
该文被密码保护。

posted @ 2016-11-15 20:23 游子日月长 阅读(0) 评论(0) 推荐(0)

delphi修改QQ快捷方式的目标地址达到在启动QQ的同时也能运行自己想要启动的EXE可执行文件
摘要:delphi修改QQ快捷方式的目标地址达到在启动QQ的同时也能运行自己想要启动的EXE可执行文件。 直接上代码,自已体会 !! Unit1.pas代码如下: unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysU 阅读全文

posted @ 2016-11-14 13:09 游子日月长 阅读(186) 评论(0) 推荐(0)

js 对象单例模式
该文被密码保护。

posted @ 2016-11-13 22:57 游子日月长 阅读(0) 评论(0) 推荐(0)

常用句子
该文被密码保护。

posted @ 2016-11-13 22:12 游子日月长 阅读(0) 评论(0) 推荐(0)

js零碎代码片断(8)
该文被密码保护。

posted @ 2016-11-13 22:11 游子日月长 阅读(2) 评论(0) 推荐(0)

js零碎代码片断(7)
该文被密码保护。

posted @ 2016-11-13 18:26 游子日月长 阅读(2) 评论(0) 推荐(0)

js零碎代码片断(6)
该文被密码保护。

posted @ 2016-11-13 18:21 游子日月长 阅读(4) 评论(0) 推荐(0)

js零碎代码片断收集(5)
该文被密码保护。

posted @ 2016-11-13 18:12 游子日月长 阅读(3) 评论(0) 推荐(0)

js零碎代码片断收集(4)
该文被密码保护。

posted @ 2016-11-13 18:07 游子日月长 阅读(3) 评论(0) 推荐(0)

JS 实现Json查询的方法实例
摘要:其实很简单,我这部分代码,前一部分是简单的实现如何使用JS写模板,第二个就是具体的实现了JSON查询的一个扩展。 以后查询Json就有了利器了。 代码如下: /* * 定义模板函数 */ var template = function (queryArr) { var count = 0; for 阅读全文

posted @ 2016-11-11 10:59 游子日月长 阅读(2548) 评论(0) 推荐(1)

用js来实现银行家算法
摘要:Number.prototype.round = function (len) { var old = this; var a1 = Math.pow(10, len) * old; a1 = Math.round(a1); var oldstr = old.toString() var start 阅读全文

posted @ 2016-11-11 10:48 游子日月长 阅读(648) 评论(0) 推荐(0)

js 日期证有效性验的通用方法
摘要:开发的理念是“为复用而开发,为使用而组装”,代码的复用度将是项目和产品的一个重要的技术指标。 var DateTools={ isDate:function(str) { var result = str.match(/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})$/); 阅读全文

posted @ 2016-11-11 10:31 游子日月长 阅读(220) 评论(0) 推荐(0)

js获取或判断任意数据类类型的通用方法(getDataType)和将NodeList转为数组(NodeListToArray)
摘要:function getDataType(any){ /* (1) Object.prototype.toString.call 方法判断类型: 优点:通用,返回"[object String]" 具体object的类型 缺点:不能返回继承的类型 (2)typeof x 缺点:对object类型不能 阅读全文

posted @ 2016-11-11 09:20 游子日月长 阅读(1973) 评论(0) 推荐(0)

js实现jquery函数animate动画效果
摘要:<script> function animate(obj, json, interval, sp, fn) { clearInterval(obj.timer); function getStyle(obj, arr) { if(obj.currentStyle){ return obj.curr 阅读全文

posted @ 2016-11-09 15:58 游子日月长 阅读(1034) 评论(0) 推荐(0)

js原生实现 无缝滚动图片
摘要:<!-- 无缝滚动图片开始 --> <div id=demopic style="OVERFLOW: hidden; WIDTH: 100%; COLOR: #fff; HEIGHT: 170px"> <table width="100%" border=0 align=center cellpad 阅读全文

posted @ 2016-11-09 11:53 游子日月长 阅读(143) 评论(0) 推荐(0)

scrollTop实现图像循环滚动(实例1)
摘要:<html><head><title>scrollTop实现图像循环滚动(实例1)</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style> body{margin:0px 0px 0px 0 阅读全文

posted @ 2016-11-07 15:07 游子日月长 阅读(309) 评论(0) 推荐(0)

js版多精度算法BigInt
该文被密码保护。

posted @ 2016-11-04 10:14 游子日月长 阅读(0) 评论(0) 推荐(0)

commonCookie.js
摘要:/** * Created with JetBrains WebStorm. * NAME: commonCookie.js */(function(window,document){ var commonCookie = {}, singleClear = {}, specialKey = 'co 阅读全文

posted @ 2016-11-04 10:11 游子日月长 阅读(177) 评论(0) 推荐(0)

delphi XE3解析JSON数据
摘要:测试数据如下: Memo1.text中的数据: { "date":"周二(今天, 实时:12℃)", "dayPictureUrl":"http://api.map.baidu.com/images/weather/day/duoyun.png", "nightPictureUrl":"http:/ 阅读全文

posted @ 2016-11-03 14:51 游子日月长 阅读(1202) 评论(0) 推荐(0)

[转载]百分之百自动登录2345王牌技术员联盟源代码(delphi)
摘要:资源地址:http://download.csdn.net/detail/softlib/9670613 阅读全文

posted @ 2016-11-03 11:53 游子日月长 阅读(182) 评论(0) 推荐(0)

js版ScrollText文本滚动函数
该文被密码保护。

posted @ 2016-11-03 11:46 游子日月长 阅读(0) 评论(0) 推荐(0)

js版RSA算法
摘要:// RSA, a suite of routines for performing RSA public-key computations in// JavaScript.//// Requires BigInt.js and Barrett.js.//// Copyright 1998-2005 阅读全文

posted @ 2016-11-03 11:43 游子日月长 阅读(7120) 评论(1) 推荐(0)

js版MD5 (Message-Digest Algorithm)加密算法
摘要:/**** MD5 (Message-Digest Algorithm)* http://www.webtoolkit.info/***/ var MD5 = function (string) { function RotateLeft(lValue, iShiftBits) { return ( 阅读全文

posted @ 2016-11-03 11:41 游子日月长 阅读(616) 评论(0) 推荐(0)