![]() HTML_Progress2 : The Definitive Guide |
HTML_Progress2::setProgressAttributes
— Sets the progress background attributes values
require_once 'HTML/Progress2.php';
void HTML_Progress2::setProgressAttributes(
|
$attributes) ;
|
mixed | $attributes; |
Background attributes are color and size, with default values:
background-color = #FFFFFF
background-image = none
background-repeat = no-repeat
background-position = top left
Horizontal Bar :
width = (cell_count * (cell_width + cell_spacing)) + cell_spacing
height = cell_height + (2 * cell_spacing)
Vertical Bar :
width = cell_width + (2 * cell_spacing)
height = (cell_count * (cell_height + cell_spacing)) + cell_spacing
HTML_Progress2 : The Definitive Guide | v 2.4.0 : April 20, 2007 |