I am trying to paste the code to a simply currency exchange widget into an HTML block on my D7 site, but it will not work. The code works fine when pasted into a page in dreamweaver, but live on the page it only displays the header of the widget and that's it. See below for the code... Anyone know why this would not work in an HTML block?
Original Code
<!--copy begin here:-->
<div style="width:190px;text-align:center;"><div id="xcolors2_1" style="border:1px solid #000;background-color:#94abf0;padding: 0px 0px;margin: 0px 0px;align:center;overflow:hidden;"><div id="xcolors2_2" style="font-size:12px;color:#183a00;line-height:16px;font-family: arial; font-weight:bold;background:#94abf0;padding: 3px 1px;text-align:center;"><a href="http://www.exchangerateusd.com/PHP" alt="PHP Philippine Peso Currency Exchange Rate" title="PHP Philippine Peso Currency Exchange Rate" id="forex2_links2" style="color:#000000;font-size:14px;text-decoration:none;line-height:16px;font-family: arial;" ><img src="http://www.exchangerateusd.com/images/PHP.gif" border="0" style="margin:0;padding:0;border:0;" />Philippine Peso Exchange Rate</a></div><script src="http://www.exchangerateusd.com/z.php?z=us_PHPs2&c=94abf0&tz=GMT+8&tf=1"></script></div><div style="text-align:center;"><a href="http://www.exchangerateusd.com/" style="font-size:12px;">Currency Exchange Rate</a></div></div>
<!--copy end here:-->
HTML Purifier Code
<!--copy begin here:-->
<div style="width: 311px; text-align: center;">
<div id="xcolors2_1" style="border: 1px solid #000; background-color: #94abf0; padding: 0px 0px; margin: 0px 0px; align: center; overflow: hidden;">
<div id="xcolors2_2" style="font-size: 12px; color: #183a00; line-height: 16px; font-family: arial; font-weight: bold; background: #94abf0; padding: 3px 1px; text-align: center;"><a href="http://www.exchangerateusd.com/PHP" alt="PHP Philippine Peso Currency Exchange Rate" title="PHP Philippine Peso Currency Exchange Rate" id="forex2_links2" style="color: #000000; font-size: 14px; text-decoration: none; line-height: 16px; font-family: arial;"><img src="http://www.exchangerateusd.com/images/PHP.gif" style="margin: 0; padding: 0; border: 0;" border="0" />Philippine Peso Exchange Rate</a></div>
<script type="text/javascript"></script>
</div>
</div>
<!--copy end here:-->
It strips put the following script which is of course the part that makes it work.
<script src="http://www.exchangerateusd.com/z.php?z=us_PHPs2&c=94abf0&tz=GMT+8&tf=1"></script>
Do I have to insert this as a PHP block instead of an HTML block?
Thanks...