被生活干了

无论你说的话多么傻逼,但我坚决捍卫你说话的权利

导航

上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页

2006年8月20日 #

用CSS样式固定表格宽度

摘要: 在table或div里显示文章的时候,如果是汉字,文章会根据table和div的width属性自动分行,但如果是英文,当单词长度超过table或div宽度的时候,table/div便会被撑开,有时候会造成页面很难看,这时可以给table/div设置如下样式:word-break:break-all;word-wrap:break-word; 单词超长的时候能够自动截断单词分行,避免上述情况的发生。... 阅读全文

posted @ 2006-08-20 03:47 komazhang 阅读(353) 评论(0) 推荐(0) 编辑

2006年8月14日 #

myEditableBox based on ajax ----- add,submit included

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->var EditableBox = Class.create();EditableBox.prototype = { initialize:function(id){ this.src = d... 阅读全文

posted @ 2006-08-14 03:28 komazhang 阅读(182) 评论(0) 推荐(0) 编辑

2006年8月11日 #

Format 转载

摘要: 格式限定符中的转义 格式限定符中往往有一些字母代表特点的意思比如,在DateTime.ToString中,y代码年,M代表月,等等那么如果ToString的结果我本身就需要这些字符又怎么办呢?此时就需要使用转义字符,而且这个转义标记就是我们熟悉的"\" DateTime now = DateTime.Now;now.ToString("yyyy,MM,dd HH:mm:ffff");//2006... 阅读全文

posted @ 2006-08-11 18:36 komazhang 阅读(122) 评论(0) 推荐(0) 编辑

2006年8月4日 #

利用prototype 写 "loading..." 中间的handler

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> function refreshit() { var handler={ onCreate... 阅读全文

posted @ 2006-08-04 16:13 komazhang 阅读(204) 评论(0) 推荐(0) 编辑

2006年8月1日 #

异步上传,callback上传位置...--

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.IO ;using System.Xml ;using System.Collections ;using System.Reflection ;usi... 阅读全文

posted @ 2006-08-01 15:22 komazhang 阅读(153) 评论(0) 推荐(0) 编辑

2006年7月27日 #

使用ajaxhandler--prototype

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Loading 阅读全文

posted @ 2006-07-27 17:43 komazhang 阅读(158) 评论(0) 推荐(0) 编辑

2006年7月19日 #

javascript: pototype ---tipbox object

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->var TipBox=Class.create();TipBox.prototype={ initialize: function(msg, _options){ this.optio... 阅读全文

posted @ 2006-07-19 09:27 komazhang 阅读(275) 评论(0) 推荐(0) 编辑

2006年7月18日 #

the simple ajax tooltip based on prototype --koma

摘要: On begining this code.you should add script reference that is"prototype.1.3" Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> var tip = Class.c... 阅读全文

posted @ 2006-07-18 13:42 komazhang 阅读(263) 评论(0) 推荐(0) 编辑

2006年7月17日 #

编译自定义控件

摘要: csc /t:library /out:MSPress.ServerControls.dll /r:System.dll /r:System.Web.dll SimpleControl.cs 阅读全文

posted @ 2006-07-17 17:57 komazhang 阅读(163) 评论(0) 推荐(0) 编辑

2006年7月15日 #

一个上传图片很有用的方法...

摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->一个可以使得上传的图片大小按照指定的宽度,高度自动按比例进行缩放,生成的JPG还可以指定其图片的压缩比。很实用。 public string upimgscalesave(HttpPostedFile ... 阅读全文

posted @ 2006-07-15 20:56 komazhang 阅读(180) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页