autoProgress == 'bar') { $buttonMarginTop += $progressBarBackgroundHeight / 2; if ($this->pagination) { $paginationPositionTop += $progressBarBackgroundHeight; } } /* if ($this->pagination) { $buttonMarginTop += $paginationSize / 2; }*/ if ($this->itemsVisible == '1') { $borderWidth = 10; $shadow = 10; $margin = 10; if ($this->autoProgress == 'bar') { $progressBarBackgroundHeight -= $progressBarPositionTop; } } else { $borderWidth = 10; $shadow = 3; $margin = 5; if ($margin > 0 && $this->pagination) { $buttonMarginTop += $margin / 2; } if ($this->autoProgress == 'bar') { $buttonMarginTop++; // half of padding-top } } ?>