Examples TOCexamples

Red Sand Back

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

 Table of contents

Introduction

This example requires :


This example will run a reverse horizontal ProgressBar, as javadanse.php. It also show how to decrease cell number (default is 10).

Percent text info is center aligned on bottom side of the progress bar.

[Top]

 Render options

Here are options to build the progress bar cells :
active-color   = #970038
inactive-color = #FFDDAA
width          = 20
HTML_Progress_UI::setCellAttributes()
Here are options to build the progress bar border :
width = 1
color = #000000
HTML_Progress_UI::setBorderAttributes()
Here are options to build the progress bar string (percent text info):
font-size = 14
color     = #FF0000
align     = left
valign    = bottom
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]