Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Section
Column

API

Strings Move to New strings Option

Two options, ariaBusyText and ariaDoneText, have been moved into a new strings option.

If you used...

You'll now use...

Code Block
javascript
javascript

var opts = {
    ariaBusyText: "Almost there: %percentComplete percent done...",
    ariaDoneText: "Yay! You're finished!"
};
Code Block
javascript
javascript

var opts = {
    strings: {
        ariaBusyText: "Almost there: %percentComplete percent done...",
        ariaDoneText: "Yay! You're finished!"
    }
};
Column
Panel

...

borderColor#566b30
bgColor#fff
titleBGColor#D3E3C4
borderStylesolid
titleOn this Page
Table of Contents
minlevel2

New Events Replace Animation Callbacks

The callback properties of showAnimation and hideAnimation are deprecated, replaced by new events which you can define listeners for, onProgressBegin and afterProgressHidden.

...

For details on how to use these new options, see the Progress API page.

Dependencies

The only change in dependencies for Progress is the addition of a jQuery plugin, jquery.bgiframe.js.

Old Dependencies

Code Block
html
html

<script type="text/javascript" src="lib/jquery/core/js/jquery.js"></script>
<script type="text/javascript" src="lib/jquery/ui/js/ui.core.js"></script>
<script type="text/javascript" src="framework/core/js/Fluid.js"></script>
<script type="text/javascript" src="components/progress/js/Progress.js"></script>

New Dependencies

Code Block
html
html

<script type="text/javascript" src="lib/jquery/core/js/jquery.js"></script>
<script type="text/javascript" src="lib/jquery/ui/js/ui.core.js"></script>
<script type="text/javascript" src="lib/jquery/plugins/bgiframe/js/jquery.bgiframe.js"></script>
<script type="text/javascript" src="framework/core/js/Fluid.js"></script>
<script type="text/javascript" src="components/progress/js/Progress.js"></script>