Guest Posted February 13, 2008 Posted February 13, 2008 Hello forum I need to paste java script somewhere inside information Box How can I manage this I get error when I try to paste it inside ?> (outside ?> is OK but the appearance on frontpage is not nice) <!-- information //--> <tr> <td><?php $info_box_contents = array(); $info_box_contents[] = array('text' => Currencies); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array(); <-------------------------------------Somewhere here! new infoBox($info_box_contents); ?> I want to paste <!-- start Boom.ge currency bar code--> <script language="javascript" src="http://currency.boom.ge/moduls/currency_bar.php?id=7&w=173&h=91"> </script>
Cheepnis Posted March 28, 2011 Posted March 28, 2011 3 years later and I would like to know if anybody has any help with hotw to do this. Thanks!
pyramids Posted March 28, 2011 Posted March 28, 2011 can't say it will work for your script, buy try: $info_box_contents = array(); $info_box_contents[] = array('text' => '<script language="JavaScript"></script>'); just be careful with the use of ' (apostrophes) in the script
Recommended Posts
Archived
This topic is now archived and is closed to further replies.