Edgewall Software

Changes between Version 7 and Version 8 of ProcessorBazaar


Ignore:
Timestamp:
Apr 30, 2005, 1:06:38 AM (19 years ago)
Author:
sschwarzer
Comment:

Added sortedtable.

Legend:

Unmodified
Added
Removed
Modified
  • ProcessorBazaar

    v7 v8  
    9292[[BR]]''By:'' Simon Ward <simon@mivok.net>
    9393[[BR]]''Version:'' >= 0.8
     94----
     95=== sortedtable ===
     96A WikiProcessor which sorts tables with JavaScript.
     97
     98Requires [http://www.kryogenix.org/code/browser/sorttable/sorttable.js sorttable.js] from http://www.kryogenix.org/code/browser/sorttable/ .
     99
     100Usage:
     101
     102 1. Fetch [http://www.kryogenix.org/code/browser/sorttable/sorttable.js sorttable.js] (see above)
     103 1. Put the script somewhere on your HTTP server and set the variable js_url in the [http://projects.edgewall.com/trac/attachment/wiki/ProcessorBazaar/sortedtable.py file] OR put the JavaScript file in the same directory as the Python file.
     104 1. Use WikiProcessor syntax like
     105 {{{
     106{{{
     107#!sortedtable
     108|| Strings || Numbers ||
     109|| abc     || 2       ||
     110|| def     || 10      ||
     111|| abd     || 9       ||
     112}}}
     113 }}}
     114 Use the usual table syntax for wiki pages.
     115 1. If the browser has JavaScript enabled, you will be able to sort the resulting table by clicking on the headings in the first row.
     116
     117[[BR]]''Download:'' http://projects.edgewall.com/trac/attachment/wiki/ProcessorBazaar/sortedtable.py
     118[[BR]]''By:'' Stefan Schwarzer (sschwarzer at sschwarzer.net)
     119[[BR]]''Version:'' >= 0.8 (tested with 0.8)
    94120
    95121----