PEAR::HTML::Progress example: Hide progress bar
Author: Laurent Laville

examples

# Hide progress bar

$Date: 2005/07/25 11:23:37 $

- Introduction
- Render options
- PHP source syntax highlight
- Play demo

## Introduction

This example requires :

- PEAR::HTML_Progress 1.2.2 or better (see source at line 11).

This example will hide a progress meter at end of a initialize process.

The initialize process is simulate by the user callback defined on lines 16 to 19. This callback is attached on the progress bar at line 24.

Finally when process is over, we hide the progress bar at line 54.

[Top]

## Render options

- Animation speed is set to 100 (see source at line 22).
- Increment is set to 10 (see source at line 23).

[Top]

## PHP source syntax highlight

Open source listing in a new window.

[Top]

## Play demo

Run the script.

[Top]