Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I had capture a click on the laik of <code>&lt;div class = "fb-like-box"</code> ... html5 diva. Variant:</p> <pre><code>FB.Event.subscribe ('edge.create', function (response) { alert ('You just liked' + response); }); </code></pre> <p>You can only use in version XFBML of the like button,</p> <p>but I had a very, and has decided in the end this variant</p> <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt; &lt;script&gt; window.fbAsyncInit = function() { FB.init({appId: 'YOUR_FACEBOOK_APP_ID', status: true, cookie: true, xfbml: true}); FB.Event.subscribe('edge.create', function(response) { alert('You just liked '+response); }); }; (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/ru_RU/all.js#xfbml=1&amp;appId=265929413447804"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); &lt;/script&gt; &lt;div class="fbp-one" style="margin-top: 62px; margin-left: 60px; position: absolute; z-index: 1000; height: 27px; background-color: white;"&gt; &lt;div class="fb-like" data-send="false" data-layout="button_count" data-width="100" data-height="200" data-show-faces="false"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="fbp-two" style="position:relative;"&gt; &lt;div class="fb-like-box" data-href="YOUR_ADRESS" data-width="190" data-show-faces="true" data-stream="false" data-header="true"&gt;&lt;/div&gt; &lt;/div&gt; </code></pre> <p>Div 'FBP-one' getting better on the button in the FBP-two above and looks like one unit and functional works in all browsers, just paint CSS, each for himself :)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload