七月 15th, 2010

IE8下eWebEditor按钮不起作用的问题

hoo~IE8下面发现eWebEditor的按钮都没法点了,改吧-_-~ 在eWebEditor的目录里找到Editor.js文件,路径是webedit\Include\Editor.js 用editplus打开找到代码: if (element.YUSERONCLICK) eval(element.YUSERONCLICK + “anonymous()”); 替换成 if(navigator.appVersion.match(/8./i)==’8.’) { if (element.YUSERONCLICK) eval(element.YUSERONCLICK + “onclick(event)”); } else { if (element.YUSERONCLICK) eval(element.YUSERONCLICK + “anonymous()”); } 看来以后该换个网页文本编辑器了,比如Fckeditor

点这里阅读全文
四月 23rd, 2010

今天注册了网易的域名邮箱,顺便送大家两个邀请码

每个账户3G的空间,支持pop3和smtp,很好
注册成功送了三个邀请码,贡献出来两个,先到先得^_^

点这里阅读全文
四月 6th, 2010

让google voice短信支持中文

通过安装客户端工具的方法实现,详情见内容

点这里阅读全文
三月 8th, 2010

强大的图片验证码识别代码

今天想刷个投票页面,需要识别验证码,网上搜啊,找到一个图片验证码识别类,改动一下用起来很舒服啊^_^ 因为每种类验证码的字符表都不一样,所以需要事先得到此种验证码的字符表 方法呢,就是在调试模式输出一下就看到了 代码如下 UnCodeBase.cs using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Drawing; using System.Drawing.Imaging; using System.Runtime.InteropServices; namespace BallotAiying2 { class UnCodebase { public Bitmap bmpobj; public UnCodebase(Bitmap pic) { // if (pic.PixelFormat == PixelFormat.Format8bppIndexed) bmpobj = new Bitmap(pic); //转换为Format32bppRgb } /// /// 根据RGB,计算灰度值 /// /// Color值 /// 灰度值,整型 private int GetGrayNumColor(System.Drawing.Color posClr) [...]

点这里阅读全文
三月 3rd, 2010

备案网站miibeian.gov.cn打不开的解决办法

最近一直打不开信产部备案网站,测试了一下可以用以下几个地址访问,速度超快

点这里阅读全文
一月 11th, 2010

asp日期函数大全

asp日期函数
每个均有样例帮助理解

点这里阅读全文
一月 10th, 2010

URL编码表一览

URL编码对应表

点这里阅读全文
一月 9th, 2010

去掉图片链接点击后,图片周围的虚线框

a {outline: none;}
a:active {star:expression(this.onFocus=this.blur());}
:focus { outline:0; }
或< a href="#" onFocus="this.blur()">< img src="logo.jpg" border=0>< /a>

点这里阅读全文
一月 8th, 2010

jQuery 1.3 API 参考文档中文版-在线版

http://ai-2.cn/tools/jqueryapi/

点这里阅读全文
一月 8th, 2010

js的一些小技巧(一)

javascript 一条语句实现随机数

点这里阅读全文