Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New infobox with javascript inside (Etsy mini)


Philth

Recommended Posts

Hi all,

 

Easy one for you, but urgent!!

 

Need to quickly add a new infobox onto my site with some javascript inside it to display a gallery, trying to use this:

 

<?php
?>
<!-- Etsy Info Box //-->
<tr>
<td>
	<?php 

{

 	$info_box_contents = array(); 
$info_box_contents[] = array('align' => 'left', 'text'  => ETSY_HEADER ); 
new infoBoxHeading($info_box_contents, false, false); 

$info_box_contents = array();
//	$content='';
<script type='text/javascript' src='http://www.etsy.com/etsy_mini.js'></script><script type='text/javascript'>new EtsyNameSpace.Mini(6082982, 'shop','thumbnail',4,1).renderIframe();</script>

$info_box_contents[] = array('text' => $content);

new infoBox($info_box_contents);
}
	?>
</td></tr>

 

but comes up with an error.

 

Can anyone help please????

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...