HTML and AUI Toolkit for Confluence
  • Introduction
  • Administrator Guide
    • Sample Page Code
    • Data Center Compatibility
  • AUI Macros
    • AUI Badge
    • AUI Button
    • AUI Dialog
    • AUI Dropdown Menu
    • AUI Flag
    • AUI Icon
    • AUI Lozenge
    • AUI Message
    • AUI Progress Bar
    • AUI Progress Bar 2
  • HTML Macros
    • HTML Address
    • HTML Blockquote
    • HTML Cite
    • HTML Custom Tag
    • HTML Div
    • HTML Embed
    • HTML Figure and HTML Figure Caption
    • HTML Footer
    • HTML Html
    • HTML Image Map and HTML Image Area
    • HTML Img
    • HTML Preformatted
    • HTML Progress Bar
    • HTML Script
    • HTML Small Text
    • HTML Spacer
    • HTML Span
    • HTML Strikethrough
    • HTML Style
Powered by GitBook
On this page
  • Description
  • Adding the Macro
  • Macro Options
  • ID
  • Progress
  • Max Value
  • Width
  1. AUI Macros

AUI Progress Bar 2

PreviousAUI Progress BarNextHTML Macros

Last updated 2 years ago

Description

The AUI Pogress Bar 2 is a newer implementation of Atlassian that also allows for an indeterminate state, displayed as a bouncing progress bar.

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 2” macro

Macro Options

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.

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

let progress = document.getElementById("my-progress-bar2");
progress.max = 42;
progress.value = 7;

Progress

Enter the progress value in relation to the Max Value.The Max Value is set to 100 per default which in most cases is what you want, representing 100%. In that case, if you want to display a 52% progress, enter 52 here.

Max Value

The Max Value is set to 100 per default which in most cases is what you want, representing 100%. Depending on your use case, you might want to chose a different value. You can do so here. Make sure you adjust your progress value accordingly.

Width

You can enter a fixed width here, e.g. 400px.

Note: The height cannot be adjusted for this type of progress bar.