Zen Follower
- Join Date:
- Sep 2008
- Posts:
- 211
- Plugin Contributions:
- 0
scrolling bestseller sidebox wrapper
hey fellow zenners. Just noticed a weird thing on my shop and it's quiet irritating to fix it. I am sure you gurus can see it in seconds not in days like myself:huh:
The bestseller sidebox is missing the left, right, and bottom boarders. I am sure it's a simple thing, but eveything i've tried failed. Please look at the code what am I missing here.:frusty:
<?php $content = ''; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="rightsideBoxContent">' . "\n"; $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n"; for ($i=1; $i<=sizeof($bestsellers_list); $i++) { $rp .= '<li> <a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . '<img align= "Center" width="100" class="bestsellers_thumbnail" src="images/' . $bestsellers_list[$i]['image'] . '">' . '<br>' .zen_trunc_string($bestsellers_list[$i]['name'] ) . '</a></li>' . "\n"; } $total = $i; if ($total > 1) { //if more than one special exists in the db then scrolling begins $content .= '<MARQUEE style="position:relative" behavior= "scroll" align= "center" direction= "up" width="140" height="260" scrollamount= "2" scrolldelay= "5" onmouseover=\'this.stop()\' onmouseout=\'this.start()\'>' . $rp .'</MARQUEE>'; } elseif ($total == 1) { // If only one special exists in the db then the specials box will remain static $content .= $rp; } else { // If there are no bestsellers then this text is displayed $content .= "No bestsellers this month!"; } $content .= '</div>' ?>