Description: Group contents together and reveal them on demand when the user clicks on their associated headers, with Accordion content script! Specify whether only one content within the group should be open at any given time, style the headers depending on their content state, and even enable persistence so the state of the contents is preserved within a browser session. The script enlists the help of the jQuery library for its engine. There are lots of configurable options, so lets get to them:
Category:
This great script enables long content on your page to be viewed in sequential view. It break up arbitrary content into multiple parts, viewable one part at a time. The script automatically creates the necessary "back" and "forward" link when needed. For browsers that don't support this script, everything simply appears all at once like normal. Very cool!
Browser support for this script are IE5+ and NS6+.
Category:
Paste content directly from the clipboard. For example copy a region in excel, and paste it here using the button or ctrl-v. (Mozilla-workaround: use the paste button.)
An Excel or CVS import could be done with an attached button that opens a file upload window. On the server you could use Bs_FileConverterExcel.class.php to convert to CSV.
Export to cvs (excel can be done using the biff-writer or another class that writes excel files).
Bold/italic/underline (with buttons, and in ie also by hitting ctrl-b, ctrl-i, ctrl-u)
Row-based ordering (ascending and descending).
Inserting columns and rows.
Deleting columns and rows.
Resizing columns and rows ala excel (not in mozilla).
Multiline editing by hitting shift-enter (not in mozilla)
The current cell name (for example C5) and cell value are displayed in the header line.
Good key support:
F2 = start edit cell (like double click)
ESC = end cell edit and restore to previous value
Cursors up, down, left, right and tab/enter to move around cells
In mozilla only the doubleclick works so far.
Can be directly used as form field. See the Bs_Form package.
Category: