jQuery Plugins: Multiple File Upload, Star Rating, NEW: CKEditor (old: FCKEditor), Codepress, XML to JSON

What does it do?

Try it yourself

Conventional Submission (iFRAME)

This type of submission always works without the plugin.
 

Ajax Submission (DIV) with the jQuery Form Plugin

This type of submission would not work without this plugin.

Important pointers...

  • This is a working idea that hasn't yet been fully tested.
    Tested and works on Firefox 2, Opera, Safari (Win), IE7 and IE6 (all in WinXP SP2).
  • The same principle can be applied to TinyMCE, Codepress and any other rich-text editors.
    Any input regarding other rich-text editors is welcome.
  • The plugin will intercept known methods and install itself against related plugins (currently the Form Plugin and the Validation Plugin).
    Any input regarding integrating this plugin with other jQuery plugins is welcome.

Usage

Method 1

Replacing ALL textareas in a page with THE SAME settings


<textarea name="fck1" cols="50" rows="6"></textarea>
<textarea name="fck2" cols="50" rows="6"></textarea>
<textarea name="fck3" cols="50" rows="6"></textarea>
<script> $(function(){ $('textarea').fck({path: '/path/to/fck/directory/'}); }); </script>

Method 2

replacing SOME textareas in a page with THE SAME settings
In this example, only textarea fck3 will not be converted into a FCKEditor.


<textarea name="fck1" class="fck" cols="50" rows="6"></textarea>
<textarea name="fck2" class="fck" cols="50" rows="6"></textarea>
<textarea name="fck3" cols="50" rows="6"></textarea>

<script> $(function(){ $('textarea.fck').fck({path: '/path/to/fck/directory/'}); }); </script>

Method 3

replacing SOME textareas in a page with DIFFERENT SETTINGS


<textarea name="fck1" cols="50" rows="6"></textarea>
<textarea name="fck2" cols="50" rows="6"></textarea>
<textarea name="fck3" cols="50" rows="6"></textarea>

<script>
 $(function(){
  $.fck.config = {path: '/path/to/fck/directory/', height:300 };
  $('textarea#fck1').fck(/* default settings */);
  $('textarea#fck2').fck({ toolbar:'MyCustomerToolbar' });
  $('textarea#fck3').fck({ toolbar:'MyCustomerToolbar', height:200 });
 });
</script>

Multiple Editors

This example below illustrates how to install multiple FCKEditors (with different settings) on one page.

textarea1

textarea2

Sample HTML


<strong>textarea1</strong><br/>
<textarea name="fck1" id="textarea1">textarea name : fck1<br />textarea id : textarea1</textarea>
<hr/>
<strong>textarea2</strong><br/>
<textarea name="fck2" id="textarea2">textarea name : fck2<br />textarea id : textarea2</textarea>

Sample Javascript


//# TEST PAGE FUNCTIONALITY
$(function(){
 $.fck.path = '/fwx/inc/fck/';
 $('#textarea1').fck({toolbar: 'Default', height: 200 });
 $('#textarea2').fck({toolbar: 'Basic', height: 100, width:300 });
});

Download

This project (and all related files) can also be accessed via its Google Code Project Page.

Full Package: v1.32 FCKEditor.zip
Stay up-to-date! Major updates will be announced on Twitter: @fyneworks
Core Files: These are the individual required files (already included in the zip package above)
jQuery: jquery-latest.js (see jQuery.com)

Related Downloads

Related: Metadata plugin - Used to retrieve inline configuration from class variable
Form plugin - Used to submit forms via ajax

SVN Repository

If you're a major geek or if you really really want to stay up-to-date with with future updates of this plugin, go ahead and plug yourself to the SVN Repository on the official Google Code Project Page.

SVN Checkout: SVN Checkout Instructions
Browse Online: Browse Source

Alternative Download - From this website

Just in case it's the end of the world and the Google Code site becomes unavailable, the project files can also be downloaded form this site.
However, please note that this site is updated periodically whereas the Google Code project is kept up-to-date almost instantaneously. If you'd like the very latest version of this plugin you are advised to use the links above and download the files from Google Code - this will ensure the files you download have the very latest features and bug fixes.

Full Package: v1.32 FCKEditor.zip
Stay up-to-date! Major updates will be announced on Twitter: @fyneworks
Core Files: These are the individual required files (already included in the zip package above)
jQuery: jquery-latest.js (see jQuery.com)

Support

Quick Support Links: Help me! | Report a bug | Suggest new feature

Support for this plugin is available through the jQuery Mailing List. This is a very active list to which many jQuery developers and users subscribe.
Access to the jQuery Mailing List is also available through Nabble Forums and the jQuery Google Group.

WARNING: Support will not be provided via the jQuery Plugins website. If you need help, please direct your questions to the jQuery Mailing List or report an issue on the official Google Code Project Page.

Official Links

Credit

  • Diego A. - Author, London SEO Consultant
  • Keith Wood - The brain behind v2.1
  • Dean Edwards - Author of JS Packer used to compress the plugin
  • Will Stuckey, Ritesh Agrawal and everyone else who worked in the previous versions of the plugin - I'm not so good with research...

Attribute this work

Attribution link: © Fyneworks.com
HTML Code:

License Info

FCKEditor Plugin by Fyneworks.com is licensed under the MIT License and the GPL License. Creative Commons License