****************** CFJQ ****************** Version: 0.7 (beta 1) Date: 8/26/2008 Author: Michael Sprague E-mail: msprague@hamilton.edu ****************** WHAT IS THIS? ****************** CFJQ is a library of custom tags that replace the built-in Coldfusion ajax interface tags. The tags use jQuery functionality instead of YUI/EXT, resulting in an easier-to-use interface and a MUCH SMALLER FILE SIZE. They do not function exactly the same as CFGRID, CFWINDOW, and CFTOOLTIP, but the attributes and concepts are very similar. ****************** INSTALLATION ****************** 1. Place the following files in your custom tags directory, or in the same directory as your CFM files: grid.cfm gridcolumn.cfm gridconvert.cfm window.cfm tooltip.cfm 2. Place the /js/ folder in the root directory of your site. NOTE: If you don't/can't place it in the root, then you will need to use the "pathto..." attributes of the custom tags (see below) 3. View index.cfm for the examples. 4. Read docs below! ****************** LICENSE ****************** ColdFusion portion of this project is made available under Creative Commons License http://creativecommons.org/licenses/by/3.0/ JavaScript libraries used in this project have separate authors and licensing. Please view JS files for more details. ****************** CF_GRID ****************** WHERE #form.qtype# LIKE '%#form.query#%' ORDER BY #form.sortname# #form.sortorder# BUTTON ARRAY (optional) If you want to add buttons to the top toolbar, pass in a JavaScript array formatted as follows: {name: 'Add', bclass: 'add', onpress : test}, {name: 'Delete', bclass: 'delete', onpress : test}, {separator: true} You will then need corresponding CSS and JavaScript functions for the buttons in your CFM file, for example: ---> ****************** END CF_GRID ****************** ****************** CF_WINDOW ****************** ****************** END CF_WINDOW ****************** ****************** CF_TOOLTIP ****************** ****************** END CF_TOOLTIP ******************