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 an 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(html, options)
CYDataTableEditCell(table, callback)
CYDataTable(id, cyoptions, selectable)
CYDataTableSelectLine(table, callback)
CYDatePicker(id, cyoptions, callbackselect)
CYDropZone(id, options, callbackcomplete, callbackerror)
CYFileEdit(id, file, left, top)
CYFileListClick(thumbnail, fichiers)
CYFileList(id, fichiers, fields, callbackmouseenter)
CYFlipSwitch(id)
CYFocus(id)
CYForm(id, options)
CYIconify(obj, icontitle, icon, container, containement)
CYInitAllTools(id)
CYInput(id)
CYMainTitle(titre, icon)
CYMenuSlider(id)
CYOpenSideMenu(show, keepmain, animate, w)
CYPanel(id)
CYPrompt(options, okfunctionName)
CYSelect(id, cyoptions)
CYSetIconFileEdit()
CYSpinner(id, cyoptions)
CYTab(id, cyoptions)
CYTag(tag, attrs, value)
CYTinyMCE(selector)
CYTooltip(id, options)

Some others general functions :

CYConvDateAAAAMMJJ(d)
CYConvDate(d)
CYCopyEvents(source, destination)
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)
CYLoadJS(js, callback)
CYLoadPage(page, idToSet, callback)
CYLogged(headerright)
CYLogin(user)
CYLogoff(url)
CYMaxZindex(id)
CYReplaceAll(str, find, replace)
CYSetCookie(cname, cvalue, exdays)
CYTranslate(id)
CYTranslateString(str)
CYUniqueId()
CYURL(url, options)

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 😉