Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2 scrolling boxes


tanicos

Recommended Posts

hello.

 

i added this contrib and works perfectly...what i needed was another scrolling box so i went and added the code for it like this:

 

//<![CDATA[
/* merge server php and client javascript arrays */
var pausecontent=new Array()
pausecontent[0]='<a href="example.php"><img src="images/scroll1.jpg"></a><br />'
pausecontent[1]='<a href="example.php"><img src="images/scroll2.jpg"></a><br />'
pausecontent[2]='<a href="example.php" ><img src="images/scroll3.jpg"></a><br />'
pausecontent[3]='<a href="example.php" ><img src="images/scroll4.jpg"></a><br />'


<?php
$i = 0;
while ($pausecontent[$i]) {
echo "pausecontent[".$i."] = '".$pausecontent[$i]."';

";
$i++;
}
?>
//]]>

 

now i got 2 same special scrolling boxes....how can i make them different? thank you

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...