מאצתי את הקוד HTML, אבל איך אני עכישו הופך אותו ל FBML ? הינה הקוד:
קוד HTML:
<html><head>
<script type="text/javascript">
var ct1 = 0;
var ct2 = 0;
function count1() {
ct1 = ct1 + 1;
}
function count2() {
ct2 = ct2 + 1;
}
function check() {
if (ct2 > 2) {
window.open('www.youtube.com/', 'mywindow', 'width=1024,height=768');
document.open('','self');
}
else {
alert("לא השלמת את כל התהליכים");
}
}
</script>
<link rel="stylesheet" type="text/css" href="http://static.ak.fbcdn.net/connect.php/css/share-button-css"><script src="http://api.ak.facebook.com/restserver.php?v=1.0&method=links.getStats&urls=%5B%22http%3A%2F%2Fwww.facebook.com%2Fpages%2Fpswt-bwsh-qllwt-bsydwr-hy-brwz-2%2F132436870142561%3Fv%3Dapp_158715597485685%22%5D&format=json&callback=fb_sharepro_render"></script></head><body dir="rtl">
<div id="reka">
<br>
<div id="koteret"><b>
תוכן מוסתר שיהיה לאחר
<p></p>
</b><div id="msg">
<b> עקב פניות רבות ועומס על השרת,
<br>
אתם נאלצים לעשות את הפעולות הבאות
<p></a></p>
</b><div style="margin-right: 16px; margin-top: -5px;"><b>
<b> </b></div><b>
</b></div>
<b> </b><div class="p1">
לחצו על 3 כפתורי ה"LIKE/אהבתי" ועל ה-3 מתחת.
<br>
</b><div onclick="count1();">
<b> <iframe frameborder="0" scrolling="no" src="http://www.facebook.com/plugins/like.php?href=http://www.facebook.com/pages/bww-lrwt-yk-hbwrr-3-ngmr-htsryt-sl-hprq-hhrwn-hwdlp-pswt-mdhym/177773832244088?v=app_175686729132989&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" style="border: medium none; overflow: hidden; width: 100px; height: 26px;" allowtransparency="true" id="lpcframe" name="lpcframe"></iframe>
<iframe frameborder="0" scrolling="no" src="http://www.facebook.com/plugins/like.php?href=http://www.facebook.com/pages/kl-my-swsh-lyyq-wmstp-t-hqbwzh-mqbl-qwpwn-sl-15-lmsdt-qphqphrwmh-hynm/186244488053681?v=app_4949752878&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" style="border: medium none; overflow: hidden; width: 100px; height: 26px;" allowtransparency="true" id="Iframe1" name="lpcframe"></iframe>
<iframe frameborder="0" scrolling="no" src="http://www.facebook.com/plugins/like.php?href=http://www.facebook.com/haifa.deal&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" style="border: medium none; overflow: hidden; width: 100px; height: 26px;" allowtransparency="true" id="Iframe2" name="lpcframe"></iframe>
</b></div>
<b> </b></div>
<b> <br>
</b></div>
<b>
</b><div style="margin-top: -20px;" class="if1">
<b> *אם על חלק מהדפים רשום מספר, פשוט לחצו על המספר.
</b></div>
<b> <br>
</b><div class="p1">
<b> שנית, שתפו בעזרת הלחצנים הבאים:
<br>
</b><div onclick="count2();">
<b> <a name="fb_share" type="button" share_url="http://www.facebook.com/haifa.deal" href="http://www.facebook.com/sharer.php">שיתוף</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
<b> <a name="fb_share" type="button" share_url="http://www.facebook.com/pages/bww-lrwt-yk-hbwrr-3-ngmr-htsryt-sl-hprq-hhrwn-hwdlp-pswt-mdhym/177773832244088?v=app_175686729132989" href="http://www.facebook.com/sharer.php">שיתוף</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
<b> <a name="fb_share" type="button" share_url="http://www.facebook.com/pages/swn-hkrml-zwlmh-tmwnh-sl-stn-btwk-hsn/180566781960038?v=app_171509859551933" href="http://www.facebook.com/sharer.php">שיתוף</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</b></div>
<b> </b></div>
<b> </b><div class="if1">
<b> *אם לא תשתפו, לא תוכלו לראות את התוכן!
</b></div>
<p></a></p>
</b><div style="margin-right: 16px; margin-bottom: 15px;"><b>
<b> </b></div><b>
</b><div class="p1">
<b> שלב אחרון - כניסה לתוכן
</b></div>
<b> </b><div id="link"><b><b>
<a onclick="check();" href="#">לכניסה לתוכן, לחץ כאן!</a>
</b></b></div>
<b> </b></div>
<script src="http://static.getclicky.com/js" type="text/javascript"></script>
<script type="text/javascript">try{ clicky.init(66362083); }catch(err){}</script>
<noscript><p><img alt="Clicky" width="1" height="1" src="http://in.getclicky.com/66362083ns.gif" /></p></noscript>
</body></html>