Facebook FBML Coding Help (please!!!!)

BlackHatBill

Newbie
Joined
Jan 31, 2008
Messages
35
Reaction score
73
Hi all

Just building a fan page and have done all design in Dreamweaver and am now pasting it into FBML tabs

I knew I would have problems with a currency converter that I want to include. I'm just wondering if anyone could perhaps spare a minute to help me figure this code out please!

I have the code from two sites who provide free currency converters but I can't get them to display.

One is from CurrencyConverter.co.uk and their code is as follows:

Code:
<!-- CURRENCYCONVERTER.CO.UK CODE START -->
<div id="cc_xxDIV" style="width:215px; height:230px;"><div style="text-align:center;"><p><img src="http://www.currencyconverter.co.uk/widget/images/loading.gif" alt="Loading currency converter .. please wait" /><p></p>loading<br /><a href="http://www.currencyconverter.co.uk">currency converter</a><br />please wait<br />....</div></div>
<script type="text/javascript" src="http://www.currencyconverter.co.uk/widget/creotec.currency.html.js"></script>
<!-- CURRENCYCONVERTER.CO.UK CODE END -->

The other is from CurrencyConverter.com and they provide the following code:

Code:
<iframe allowtransparency="true" hspace="0" vspace="0" marginheight="0" marginwidth="0" src="http://widget.currency-converter.com/widget/ccwidget.html?from=GBP&to=USD&val=10&du=14400&ac=1" border="0" id="ccwidget_iframe_0" name="ccwidget_iframe_0" scrolling="no" width="200" frameborder="0" height="236"></iframe><br /><div style="font-size:10px;margin:0;padding:0;text-align:center;width:200px;"><a href="http://www.currency-converter.com/" style="text-align:center;" target="_blank">Currency Converter</a></div>

Please can anyone help me to enable me to add this into a cell in a table that I have. basically I want it to display on the right hand side of my content but need some help!!!

Any advice would be greatly appreciated :)

Thanks in advance
BHB
 
Only way to do it is maybe in a widget, which I would think is your best bet, or they have to click something and you then can embed it.
 
well my suggest place that file into 2 html and put them in fbml using iframe like this

<fb:iframe src="http://domain.com/frame1.html" smartsize="false" width="760" height="1500" scrolling="no" frameborder="0" ></fb:iframe>

and repeat for second file :)

regards
 
your include javascript not allowed

try
HTML:
<script>
//some code
</script>
or
HTML:
<script src="/foo.js"></script>

and <fb:local-proxy /> at the bottom of your FBML
 
Facebook don't allow iFrames or JS in FBML, I suggest, if you want to use FBML (which is going to be discontinued soon) to make a lander page, then make it redirect to an iFrame when they click a "Click Here" button.
 
Facebook don't allow iFrames or JS in FBML, I suggest, if you want to use FBML (which is going to be discontinued soon) to make a lander page, then make it redirect to an iFrame when they click a "Click Here" button.

Topic is almost a year old. So back then it was still allowed.
 
Back
Top