本月博客排行
-
第1名
hanbaohong -
第2名
silverend -
第3名
jh108020 - arpenker
- java-007
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
wy_19921005 - benladeng5225
- 青否云后端云
- vipbooks
- kaizi1992
- e_e
- arpenker
- tanling8334
- sam123456gz
- zysnba
- fantaxy025025
- xiangjie88
- lemonhandsome
- wallimn
- ganxueyun
- Xeden
- zhanjia
- wangchen.ily
- xyuma
- jh108020
- johnsmith9th
- zxq_2017
- jbosscn
- forestqqqq
- ajinn
- daizj
- xpenxpen
- 喧嚣求静
- silverend
- kingwell.leng
- kristy_yy
- lchb139128
- jveqi
- lzyfn123
- javashop
- java-007
- sunj
- yeluowuhen
- lerf
- xiaoxinye
- flashsing123
- chenqisdfx
- bosschen
- zhangjijun
- lyndon.lin
- sunnylocus
- lyj86
- paulwong
最新文章列表
修改fckeditor编辑器下的分页代码
[技巧] 修改fckeditor编辑器下的分页代码。(fck2.6)
因为fck有二个js文件。一个js是针对非ie的。一个是针对ie的。所以我们需要更改二个js的文件。
这样方便我们以后插入分页时,就不需要那么一大串的了。只要[next]就可以分页了。
一:editor/js/fckeditorcode_ie.js 这是针对ie浏览器的 查找:
var FCKPageBreakCommand=f ...
javascript获取和设置FCKeditor内容
利用Javascript取和设FCKeditor值也是非常容易的,如下:
// 获取编辑器中HTML内容function getEditorHTMLContents(EditorName) { var oEditor = FCKeditorAPI.GetInstance(EditorName); return(oEditor.GetXHTML(true)); }
// 获取编辑器中文字内容f ...
javascript设置获取FCKeditor中的内容
FCKeditor是很著名的一个编辑器,用Javascript可以很容易的获取FCKeditor的内容和给FCKeditor赋值,如下:
// 获取编辑器中HTML内容
function getEditorHTMLContents(EditorName) {
var oEditor = FCKeditorAPI.GetInstance(EditorName);
return(oE ...
ext form gridpanel
validator.js内容
var gridConfig = {};
var gridId = "statisticsGrid";
var xwidth = 290;
var fwidth = 160;
var _json= 1;
Ext.onReady(function(){
gridConfig.pagesize = pagesize;
gridConfig. ...
ckeditor3.6.1配置项
ckeditor 精简与详细配置方法一.ckeditor 3.0.1精简精简前:4.52M 精简后:853K1.删除_samples和_source文件夹,分别为示例文件和未压缩源程序2.删除lang文件夹下除zh-cn.js,en.js下的所有语言文件.根据需要删除3.删除根目录下的changes.html(更新列表),install.html(安装指向),license.html(使用许可) ...
FCKeditor 在jsp [ssh 框架中]中怎么调用 实现 图片上传/文件浏览【自己看文档摸索出来的】跟大家一块分享
1:下载 解压FCKeditor_2.6.4.1.zip 文本编辑器主体文件 放在webroot 目录下 FCK大写
2:解压FCKeditor-2.3.zip,(jsp,FCKeditor整合包)
1):将 src 下的 com 包全部copy到你的工程src 目录下
2): 把FCKeditor.tld copy放在你的WEB-INF 目录下 ...
让CkEditor整合自己的上传页面
CKEditor是继承FCKEditor的一款非常优秀的Html编辑器。借助JSON,CKEditor具有非常强大的扩展能力。下面我就接合一个实际的例子为大家展示一下它的这种能力。问题:CKEditor工具栏上有一个Image按钮,是为内容添加图片。但是默认情况下对话框只提供了一个插入image URL的文本框。如果要从本地上传图片,官方的推荐做法是配合CKFinder。网上有很多这方面的示例,我这 ...
自动获取图片地址到文本框或下拉框中
fckeditor\editor\dialog\fck_image\fck_image.js 修改函数
function SetUrl( url, width, height, alt )
{
if ( sActualBrowser == 'Link' )
{
GetE('txtLnkUrl').value = url ;
UpdatePreview() ;
}
els ...
FCKeditor2.6 for JSP 配置方法
1、首先登陆www.fckeditor.net/download下载FCKeditor的最新版本,需要下载2个压缩包,一个是基本应用,另一个是在为在jsp下所准备的配置。
FCKeditor 2.6 下载地址:sourceforge.net/project/downloading.php
FCKeditor.Java 下载地址:sourceforge.net/projec ...
ThinkPHP和FCKeditor编辑器的完美结合
应用步骤:
1、下载FCKeditor2.x版本,将解压后的文件夹FCKeditor复制到ThinkPHP文件夹下的Vendor目录下,以便符合
THinkPHP的第三方类库引入规则。
2、修 ...
Fckeditor 2.6.4
一,文件下载
1):FCKeditor_2.6.4.zip (主文件包,包含了主要的样式css,模版,js文件)
地址:http://nchc.dl.sourceforge.net/sourc...itor_2.6.4.zip
2):fckeditor-java-2.4.1-bin.zip (JAVA支持包)地址http://nchc.dl.sourceforge.net/s ...
FCKeditor 2..6.3 使用
1. 下载FckEditor2.6.2和FCKeditor for java2.3,得到的文件为FckEditor2.6.2.rar和FckEditor2.3.rar,分别将其解压。
2. 先看FCKeditor-2.3,解压后的目录中有docs,web,src三个文件夹和其他一些文件,一般不用,将src文件夹下的所有文件考到你的工程的src目录下,那个tld文件可以不考,将web目录下 ...
FCKeditor sitemesh 冲突问题
sitemesh装饰框架与FCKeditor在线编辑器的冲突,造成fck被装饰多次,解决办法在 decorators.xml 配置文件中加个例外就可以了,如下:
<pattern>/FCKeditor/*</pattern>
fckeditor - 文件上传(4)
fckeditor默认不支持文件上传,需要下载web服务器端程序(fckeditor.java),并进行配置
1.在web.xml中加入ConnectorServlet的配置信息
<servlet>
<servlet-name>Connector</servlet-name>
<servlet-class>
net.fcke ...
fckeditor - 配置(3)
参看文档:http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_File
自定义配置方法
1.直接修改主配置文件fckconfig.js
fck主配置文件:fckeditor/fckconfig.js
2.定义单独的配置文件(只需要写需要修改的配置项)
2.1.创建m ...
fckeditor - 集成(2)
来自: http://sktoo.iteye.com
集成javascript步骤
参考文档:http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Integration/JavaScript
1.将JavaScript集成模块脚本放入<head>标签中
<script type="text/ja ...