摘要: 在使用CKEditor过程中遇到了一些问题,现把它整理成手册,以便随时翻阅.在页面<head>中引入ckeditor核心文件ckeditor.js<script type="text/javascript" src="ckeditor/ckeditor.js"></script>需要新建实例,假若CKEditor实例已存在if (CKEDITOR.instances['textarea_name']){CKEDITOR.instances['textarea_name'].destroy 阅读全文
posted @ 2012-10-22 15:53 o07 阅读(404) 评论(0) 推荐(0)
摘要: View Code protected void Page_Load(object sender, EventArgs e) { string code = Request["code"]; string app_id = ConfigurationManager.AppSettings["APP_ID"]; string app_key = ConfigurationManager.AppSettings["APP_KEY"]; string strHtml; string message; Strea... 阅读全文
posted @ 2012-07-25 09:54 o07 阅读(237) 评论(0) 推荐(0)
摘要: View Code 1 protected void Application_BeginRequest(object sender, EventArgs e) 2 { 3 string url = HttpContext.Current.Request.Url.AbsolutePath; 4 string mainPath = @"^/[a-zA-Z]+$"; 5 string secondPath = @"^/[a-zA-Z]+_[a-zA-Z]+_\d+\.html$"; 6 ... 阅读全文
posted @ 2012-05-03 16:14 o07 阅读(133) 评论(0) 推荐(0)