I installed the Best Sellers scrolling side box which is pretty much the same as this however the images on the best sellers scrolling box are huge. I did try changing the css as suggested in another thread but It doesn't seem to make any difference.
I installed this mod perfectly and everything looks great so wondered if anyone would know a quick fix for the best sellers scrolling mod.
I've searched the forum and people have had the same problem I've experienced however so far there doesn't seem to be a fix with most people uninstalling.
This is the code from the tpl_best_sellers.php
<?php
/**
* Side Box Template
*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0
*
@version $Id: tpl_best_sellers.php 2982 2006-02-07 07:56:41Z birdbrain $
*/
$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 class="bestsellers_thumbnail" src="images/' . $bestsellers_list[$i]['image'] . '">' .
'<br>' .zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
}
$total = $i;
if ($total > 1) { //if more than one special exists in the db then scrolling begins
$content .= '<MARQUEE behavior= "scroll" align= "center" direction= "up" width="150" height="160"
scrollamount= "1" 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 .= '</ol>' . "\n";
$content .= '</div>' . "\n";
$content .= '</div>';
?>