Brent UK Posted August 2, 2003 Posted August 2, 2003 Hi. I am trying to get the Worldpay supported Credit Card logos into an infobox in Worldpay. I have a shell infobox but am trying to add the following line ( I know I need to replace the xxxx with my id!!) <script language="JavaScript" src="http://www.worldpay.com/cgenerator/cgenerator.php?instId=XXXXX"></script> Thats the code.... What should I wrap around it? Many thanks Brent
Guest Posted August 2, 2003 Posted August 2, 2003 Why do you want to use javascript? Cant you just use this code: <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_IMAGE); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('align' => 'center', 'text' => '<img src="http://www.worldpay.com/cgenerator/cgenerator.php?instId=XXXXX" border="0"</a><br>' . '</a>'); new infoBox($info_box_contents); ?> -Matt
Recommended Posts
Archived
This topic is now archived and is closed to further replies.