My assistant maintains a facebook page for the company we work for.
The company wants the widget to post them on facebook so that users can enter their email and subscribe to our newsletter.
The assistant who makes facebook is not a programmer, so he asked me to create something.
I made a small page that uses jquery and ajax so that you can enter your email address and sends it to our server using ajax so that you never leave the page you are on.
We want to embed this page in facebook using iframe.
At first, we just tried to introduce an iframe that didn't work,
then we found a tutorial and tried to embed the iframe as it says so:
<a onClick="outside_location.setInnerFBML(link_1);" style="cursor: pointer;">Let see that iframe....</a>
<div id="outside_location"></div>
<fb:js-string var="link_1">
<fb:iframe height="500" allowTransparency="true" frameborder="0" scrolling="no" style="width:100%; border:none" src="http://URL-TO-OUTSIDE-LOCATION"></fb:iframe>
</fb:js-string>
<script type="text/javascript" charset="utf-8">
var outside_location = document.getElementById('outside_location');
</script>
, facebook , link_1 - a325461252_link_1
JS-, :
: a325461252_link_1
, 99% .
facebook , , - facebook .
-, ? Google, , , , "facebook iframes", "facebook iframes", , .