Contributions
noborder (borderless) Box
Sometimes we need one noborder Box.
you can use the attached, only add it to catalog/includes/classes/boxes.php
before ?>
class noborderBox extends tableBox {
function noborderBox($contents) {
$this->table_cellpadding = '0';
$this->table_cellspacing = '3';
$this->table_data_parameters = 'class="noborderBox"';
$this->tableBox($contents, true);
}
}
when you use, you can use link :
//output the contents
new noborderBox($info_box_contents);
| 29 Dec 2009 |
Sometimes we need one noborder Box.
you can use the attached, only add it to catalog/includes/classes/boxes.php
before ?>
class noborderBox extends tableBox {
function noborderBox($contents) {
$this->table_cellpadding = '0';
$this->table_cellspacing = '3';
$this->table_data_parameters = 'class="noborderBox"';
$this->tableBox($contents, true);
}
}
when you use, you can use link :
//output the contents
new noborderBox($info_box_contents);
Note: Contributions are used at own risk.
