摘要: Styles  样式 在FCK压缩包提供的完整版的例子中,我们可以在编辑器中看到四个下拉列表,一个是样式下拉列表,一个是格式下拉列表,还有就是字体和大小这两个下拉列表。本章所讲的就是如何自定义 样式下拉列表中的样式。在一些cms中 比如 dedecms 里就把 样式下拉列表给去掉了,可能他觉得不是很常用吧。 Styles Configuration  样式的配置 The e... 阅读全文
posted @ 2010-09-04 06:59 夜壶 阅读(1269) 评论(0) 推荐(0) 编辑
摘要: 上一章讲了配置部分,有关完整的配置选项的信息会在最后以附录的形式给出。 Toolbar  工具条 Toolbar Configuration   工具条的配置 It's quite easy to customize the toolbar buttons to your needs. Just edit the configuration file and mo... 阅读全文
posted @ 2010-09-04 06:53 夜壶 阅读(985) 评论(0) 推荐(0) 编辑
摘要: Configuration File  配置文件 The editor comes with a rich set of configurations that makes it possible to customize its appearance, features and behavior. The main configuration file is named "... 阅读全文
posted @ 2010-09-04 00:57 夜壶 阅读(549) 评论(0) 推荐(0) 编辑
摘要: 由于作者是学PHP的,所以就先说哈PHP加载FCKEDITOR的方式。其他的语言等以后有时间再说。 PHP It is very easy to use FCKeditor in your php web pages. Just follow these steps.  使用PHP加载FCKeditor很容易,只需下面几步: Integration step by step Ste... 阅读全文
posted @ 2010-09-04 00:54 夜壶 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 有关upgrading  fckeditor 的更新升级部分,最后在翻译,先翻译与使用相关的部分,因为很多都是js或Php来加载的,所以先讲下js的加载过程。    The "JavaScript Integration Module" is the client side option to include FCKeditor in your ... 阅读全文
posted @ 2010-09-04 00:53 夜壶 阅读(393) 评论(0) 推荐(0) 编辑
摘要: Installation  安装   Installation of FCKeditor is quite an easy task. Just follow these simple steps: Download the latest version of the editor at the following url: http://www.fckeditor.net/... 阅读全文
posted @ 2010-09-04 00:50 夜壶 阅读(163) 评论(0) 推荐(0) 编辑
摘要: FCKeditor开发者向导   网上现在比较流行的在线编辑器是FCKeditor ,虽然有一些中文教程讲过配置方法,但都非原著,所以作者对 http://docs.cksource.com/FCKeditor_2.x/Developers_Guide 进行了翻译,希望能弄清FCKeditor的使用。像dedecms都对fckeditor进行了必要的扩展,比如dedecms就修改了 ... 阅读全文
posted @ 2010-09-04 00:48 夜壶 阅读(333) 评论(0) 推荐(0) 编辑
摘要: mysql limit查询优化 mysql的limit给分页带来了极大的方便,但数据量一大的时候,limit的性能就急剧下降。网上也很多关于limit的五条优化准则,都是翻译自mysql手册,虽然正确但不实用。(测试环境win2033+p4双核 (3GHZ) +4G内存 mysql 5.0.19) 1、offset比较小的时候。 Mysql的优化是非常重要的。其他最常用也最需要优化的就是lim... 阅读全文
posted @ 2010-09-04 00:38 夜壶 阅读(234) 评论(0) 推荐(0) 编辑
摘要:   类型:转载 知道了php中utf-8编码下用正则表达式匹配汉字的最终正确表达式——/^[\x{4e00}-\x{9fa5}]+$/u   在javascript中,要判断字符串是中文是很简单的。比如: 复制代码 代码如下: var str = "php编程"; if (/^[\u4e00-\u9fa5]+$/.test(str)) { alert(... 阅读全文
posted @ 2010-09-03 08:44 夜壶 阅读(2520) 评论(1) 推荐(1) 编辑
摘要: PHP 程序员的调试技术使用 print 语句、错误报告和 PHPEclipse 插件级别: 中级Tyler Anderson (mailto:tyleranderson5@yahoo.com?subject=PHP 程序员的调试技术&cc=troy@backstopmedia.com), 自由作者2006 年 1 月 23 日本文介绍调试 PHP 应用程序的各种方法,包括在 Apache... 阅读全文
posted @ 2010-01-05 08:46 夜壶 阅读(204) 评论(0) 推荐(0) 编辑