miércoles, 5 de enero de 2011

Cosas Interesantes

COMO INTRODUCIR EL FCKEDITOR EN UN CAMPO (TEXTAREA) Y CAMBIAR EL DISEÑO POR OFFICE2003:

<script type="text/javascript" src="<%=OpenCms.getSystemInfo().getContextPath()%>/resources/editors/fckeditor/fckeditor.js"></script>

<script type="text/javascript">
try{
window.onload=function(){
FCKeditor.Skin='office2003';
var oFCKeditor = new FCKeditor('descripcionGeneral');
oFCKeditor.ToolbarSet='expertos';
oFCKeditor.Height=300;
oFCKeditor.Width=500;
oFCKeditor.BasePath="<%=OpenCms.getSystemInfo().getContextPath()%>/resources/editors/fckeditor/";
oFCKeditor.ReplaceTextarea();}
}catch(mierror) {}
</script>

No hay comentarios:

Publicar un comentario