1. Home
  2. Docs
  3. HTML an AUI Toolkit for Confluence Manual
  4. AUI Macros
  5. AUI Progress Bar

AUI Progress Bar

Description

The AUI Pogress Bar can also be a useful visual component on your page even though as a static display. However, with the ID parameter you can also change the progress via an external Javascript if you like.

Adding the Macro

  1. Edit your page.
  2. Select “+” => Other macros
  3. Type in “aui” in the Search box
  4. Select the “AUI Progress Bar” macro

Macro Options

Note: The progress bar will not show in the preview section. Save the page to see the result.

ID

Enter a unique ID for this object on your page. The macro is not using it though. But you can use it to address the progress bar with an external Javascript.

Usgin the Confluence jQuery implementation you can adjust the progress bar like this:

AJS.progressBars.update("#my-progress-bar", 0.75);

Progress

Enter the progress in percent here, e.g 32.

Width

The progress bar will adjust its width to the parent element. It will usually expand over the width of your page. You can enter a fixed width here, e.g. 400px.

Height

This parameter specifies the height of the progress bar.

 

Was this article helpful to you? Yes No

Leave a Reply

Your email address will not be published. Required fields are marked *