Examples TOCexamples

Smallest

$Date: 2004/08/10 18:12:17 $

 Table of contents

Introduction

This example requires :


This example will run the smallest ProgressBar, you can build.

Percent text info is right aligned on 50 pixels width area at right side of the progress bar (default).

[Top]

 Render options

Here are options to build the progress bar cells :
active-color   = #970038
inactive-color = #FFDDAA
width          = 7
height         = 12
HTML_Progress_UI::setCellAttributes()
Here are options to build the progress bar border :
width = 1
HTML_Progress_UI::setBorderAttributes()
Here are options to build the progress bar string (percent text info):
font-size        = 10
background-color = #C3C6C3
HTML_Progress_UI::setStringAttributes()

[Top]

 Output

Screenshot

[Top]

 PHP source syntax highlight

Open source listing in a new window.

[Top]

 Play demo

Run the script.

[Top]