Examples TOCexamples

BullIt

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

 Table of contents

Introduction

This example requires :


This example will run a plain horizontal ProgressBar.


Have a look on cell spacing attribute (important):

Percent text info is right aligned on top side of the progress bar.

[Top]

 Render options

Here are options to build the progress bar cells :
active-color     = #000084
inactive-color   = #3A6EA5
width            = 20
spacing          = 0
HTML_Progress_UI::setCellAttributes()
Here are options to build the progress bar border :
width = 1
style = inset
color = white
HTML_Progress_UI::setBorderAttributes()
Here are options to build the progress bar string (percent text info):
width            = 200
height           = 20
font-size        = 14
background-color = #C3C6C3
valign           = top
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]