The new Devjax library is a collection of plugins based on prototype library to add more functionality for scriptaculous, RICO and extends the DOM library of prototype.
An example of the work is a WYSIWYG component:
JAVASCRIPT:
-
-
editor = new Devjax.Editor('editor-example',
-
{ width: '100%',height: '200px',
-
ImagesFolder: '/images/editor/',
-
LoadURL: 'EditorExample',
-
LoadVARS: 'file=examples/editor/files/index.html',
-
SaveURL: 'editorsave',
-
OnDemand: true,
-
TextColors: ['red','blue','black','yellow','brown','white','blue','black','yellow','brown'],
-
ToolBox:['save','bold','italic','underline',
-
'insertorderedlist','insertunorderedlist','justifyleft',
-
'justifycenter','justifyright','font-color','back-color','insertimage','createlink']
-
});
-
Features
- WYSIWYG Ajax Editor
- Select input with CSS styles
- In place editor for prototype
- Image Ajax Fader for scriptaculous
- DOM API extention
- Rico draggables and droppables extension
The site itself is a single-page app that reloads the main content. This is frustrating as it doesn't have bookmarkable pages.