Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Infobox Size


LaurenElise

Recommended Posts

Posted

I've just installed the enhanced bestsellers contribution that lets you pick the bestsellers to scroll in an info box on the site. Everything is installed and working as it should but the size of the box is much smaller than id like and id like to change the scroll speed as well.

 

see example of the current bestsellers here

 

Ive tried a few things but havent had any luck, does anyone know how to change the height and scrolling of this contribution?

Posted

Ill should mention that I tried to edit the height etc in the includes/classes/boxes.php file but keep getting errors when I change the colour or size.

 

class infoBox5 extends tableBox {
function infoBox5($contents) {
  $info_box_contents = array();
  $info_box_contents[] = array('text' => '<marquee id="marquee1" onMouseOver="marquee1.stop();" onMouseOut="marquee1.start()" bgcolor="#FFFFFF" direction="up" scrollAmount="1" style="height:80">' . $this->infoBoxContents($contents) . '</marquee>');
  $this->table_cellpadding = '1';
  $this->table_parameters = 'class="infoBox"';
  $this->tableBox($info_box_contents, true);

 

I was trying to change the colour in the hope that it would eliminate the white space at the beginning and end of the scroll

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...