CYJS framework is based on jQuery and jQuery-UI. All jQuery-UI widgets are of course available, and CSS styles have been tuned to fit the framework.

Some others widgets have been included :

  • Air Calendar – the jQuery-UI calendar is not bad, but too simple, difficult for example to select many days in a month
  • Dropzone – necessary fro drag/drop operations
  • Inputmask – for input data direct control
  • Tinymce – for rich HTML editing

Tools

You’ll find a lot of examples in the provided pages, copy/paste everything, make some tests, the fastest way to begin.

Here is the functions list provided with CYJS used for interface :

CYAlert(options, okfunctionName)
CYAutoComplete(id, tags, cyoptions, callback)
CYButton(id, cyoptions)
CYCalendar(id, cyoptions)
CYCheckBox(id, cyoptions)
CYConfirm(options, okfunctionName, cancelfunctionName)
CYContextMenu(htmlorarray, options)
CYDataTableEditCell(table, callback)
CYDataTable(id, cyoptions, selectrow, complete)
CYDataTableSelectCell(table, callback)
CYDataTableSelectLine(table, callback)
CYDatePicker(id, cyoptions, callbackselect)
CYDropZone(id, options, callbackcomplete, callbackerror)
CYEditor(id, cyoptions)
CYFileEdit(file, cyoptions)
CYFileListClick(thumbnail, fichiers)
CYFileList(id, cyoptions, fields, callbackclick, callbackdblclick, callbackcomplete)
CYFlipSwitch(id)
CYFocus(id)
CYForm(id, options)
CYIconify(cyoptions)
CYInitAllTools(id)
CYInput(id)
CYMainTitle(titre, icon)
CYMenu(id, cyoptions)
CYMenuSlider(id)
CYOpenSideMenu(show, keepmain, animate, w)
CYPanel(id, cyoptions)
CYPrompt(options, okfunctionName)
CYRemoveTag(htmlstring, tag)
CYSelect(id, cyoptions)
CYSetIconFileEdit()
CYSpinner(id, cyoptions)
CYTab(id, cyoptions)
CYTag(tag, attrs, value)
CYTinyMCE(selector)
CYTooltip(id, options)
CYTree(id, cyoptions)

Some others general functions :

CYCheckEmail(email)
CYCloneHTML(id)
CYConvDateAAAAMMJJ(d)
CYConvDate(d)
CYCopyEvents(source, destination)
CYDB(cyoptions)
CYDumpObj(obj, retour)
CYExecData(url, data, callbackok, callbackfail)
CYExec(url, callbackok, callbackfail)
CYExplode(sep, chaine, n, val)
CYExtrAttrs(id)
CYGetCookie(cname)
CYImplode(sep, obj, varname)
CYInit(callback)
CYLoadCSS(css, callback)
CYLoader(onoff)
CYLoadJS(js, callback)
CYLoadPage(page, idToSet, callback)
CYLocalStorage(cyoptions)
CYLogged(headerright)
CYLogin(user)
CYLogoff(url)
CYMaxZindex(id)
CYReloadPage()
CYReplaceAll(str, find, replace)
CYSetCookie(cname, cvalue, exdays)
CYTranslate(id)
CYTranslateString(str)
CYUniqueId()
CYURL(url, options)

jQuery addons :

CYClick(callbackclick, callbackdblclick)
findall(selector)
findKey(search, returnedfield, searchfield, defaultvalue)
getStyleObject()
hashCode()
left(compare, casse)
replaceAll(search, replacement)
right(compare, casse)
visibleHeight()
toCamel()

Please contribute

If you have any improvement or tool that would have a good interest in CYJS, it would be fair to share them with us and rest of users, thanks 😉