摘要: 代码如下: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->String.prototype.myIndexOf = function(childStr,startInd,count){ if (count == null){ return t... 阅读全文
posted @ 2008-11-19 15:14 hap 阅读(2772) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->var tgs = new Array( 'div','td','tr'); var szs = new Array( '12px','14px','16px','18px','20px' ); var ... 阅读全文
posted @ 2008-10-09 16:41 hap 阅读(1168) 评论(0) 推荐(0) 编辑
摘要: 小学数学没学好,今天又碰上这个问题。Google了一下,终于明白了。 1.除以:按照我们一般的读法,把被除数放在前面。例如18÷6读作18除以6。 2.除:它和上面一种不一样,必须把两个数字(被除数和除数)倒过来读,把除数放在前面。例如18÷6的另外一种读法即是6除18。 阅读全文
posted @ 2008-09-27 16:04 hap 阅读(616) 评论(0) 推荐(0) 编辑
摘要: 郁闷了好久的问题,终于解决了。 假设要在一个1.1的网站中添加一个2.0的目录: 1.将2.0的文件夹放在1.1的目录下。 2.打开IIS,在1.1的网站下新建一个虚拟目录,指向2.0目录。 3.为2.0的虚拟目录指定一个与1.1网站不同的应用程序池(如果只有一个默认的程序池当然要新建了,方法很简单:IIS -- 本地计算机 -- 应用程序池 -- 右键 -- 新建 -- OK)。 4.关键的一点... 阅读全文
posted @ 2008-09-25 16:24 hap 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 这段代码曾经让我激动了好久,收藏起来先,以后备用。 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1//根据输入的id在服务器查找返回name的函数 2function GetName(id){ 3 var xmlhttp = fal... 阅读全文
posted @ 2008-09-24 11:34 hap 阅读(264) 评论(0) 推荐(0) 编辑
摘要: MSDN上有一篇很详细的文章 http://msdn.microsoft.com/zh-cn/library/ms972974.aspx 但是我用的是另一个:UrlRewritingNet控件。 它的使用方法很简单: 1.将UrlRewritingNet.UrlRewriter.dll拷到bin目录下。 下载 2.在web.config里进行相关的配置 Code highlighting pro... 阅读全文
posted @ 2008-09-23 16:51 hap 阅读(2312) 评论(0) 推荐(0) 编辑