Thanks for your reply Rob.
Is it just this that I would need to put in the div:
Code:
// ----------------------------------------------------------------------------------
// START CONFIGURABLES VALUES:
// Change the values here to modify how the marquee looks and works
// ----------------------------------------------------------------------------------
$scroll_amount = "1"; // scroll amount
$scroll_delay = "5"; // scroll delay
$scroll_direction = "up"; // scroll direction (can be up, down, left or right)
$scroll_behaviour = "scroll"; // scroll behaviour (can be scroll, alternate or slide) ** Seems to make no diff **
$box_height = "130"; // height of whats new box
// ----------------------------------------------------------------------------------
// END CONFIGURABLES VALUES.
// ----------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------
// DO NOT EDIT THE FOLLOWING CODE.
// NB: added lines to the original template are highlighted with comments.
// ----------------------------------------------------------------------------------
$content = "";
$whats_new_box_counter = 0;
//-------------------------------------------------------------------------------------------------------------------------------
$content .= '<marquee behavior= "' . $scroll_behaviour . '" align= "center" direction= "' . $scroll_direction . '" height="' . $box_height . '" scrollamount= "' . $scroll_amount . '" scrolldelay= "' . $scroll_delay . '" onmouseover=\'this.stop()\' onmouseout=\'this.start()\'><center>';
//-------------------------------------------------------------------------------------------------------------------------------
while (!$random_whats_new_sidebox_product->EOF) {
$whats_new_box_counter++;
$whats_new_price = zen_get_products_display_price($random_whats_new_sidebox_product->fields['products_id']);
$content .= '<div class="sideBoxContent centeredContent">';
$content .= '<a href="' . zen_href_link(zen_get_info_page($random_whats_new_sidebox_product->fields['products_id']), 'cPath=' . zen_get_generated_category_path_rev($random_whats_new_sidebox_product->fields['master_categories_id']) . '&products_id=' . $random_whats_new_sidebox_product->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $random_whats_new_sidebox_product->fields['products_image'], $random_whats_new_sidebox_product->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT);
$content .= '<br />' . $random_whats_new_sidebox_product->fields['products_name'] . '</a>';
$content .= '<div>' . $whats_new_price . '</div>';
$content .= '</div>';
//-------------------------------------------------------------------------------------------------------------------------------
$content .= '<br />';
//-------------------------------------------------------------------------------------------------------------------------------
$random_whats_new_sidebox_product->MoveNextRandom();
}
//-------------------------------------------------------------------------------------------------------------------------------
$content .= '</center></marquee>';
//-------------------------------------------------------------------------------------------------------------------------------
?>
Thankyou.