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>
Latest News: (loading..)
Hot to paste Javascript in Information box
Started by fxtrader777, Feb 13 2008, 09:43
4 replies to this topic
#1
Posted 13 February 2008, 09:43
#2
Posted 13 February 2008, 13:22
May be to paste in array()?
#3
Posted 14 February 2008, 06:46
any ideas?
#4
Posted 28 March 2011, 21:25
3 years later and I would like to know if anybody has any help with hotw to do this. Thanks!
#5
Posted 28 March 2011, 21:34
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
$info_box_contents = array();
$info_box_contents[] = array('text' => '<script language="JavaScript"></script>');
just be careful with the use of ' (apostrophes) in the script














