| | 1 | DeveloperGuidelines |
| | 2 | DeveloperGuidelinesTips |
| | 3 | |
| | 4 | |
| | 5 | == !StatusBar == |
| | 6 | |
| | 7 | See the [http://www.vimeo.com/9526668 ajaxS3 demo] to get an idea. |
| | 8 | It is located in the [http://bazaar.launchpad.net/~flavour/sahana/sahanapy-trunk/annotate/head%3A/static/scripts/S3/S3.js S3.js] |
| | 9 | |
| | 10 | To use it call: |
| | 11 | {{{ |
| | 12 | showStatus(message, timeout, additive, isError) |
| | 13 | }}} |
| | 14 | Where |
| | 15 | 1. message - string - message to display |
| | 16 | 1. timeout - integer - milliseconds to change the statusbar style - flash effect (1000 works OK) |
| | 17 | 1. additive - boolean - default 'false' - to accumulate messages stacked in the bar which will have growing number of lines if 'true' |
| | 18 | 1. isError - boolean - default 'false' - show in the statusbarerror class if set 'true' |
| | 19 | |
| | 20 | To remove the status bar, call the |
| | 21 | {{{ |
| | 22 | hideStatus() |
| | 23 | }}} |