Facebook Big Like Button Popup
A simple Overlay Popup showing Facebook Like button, for high conversione LIKE on fan Page.
Use cookie to break popup appear after click on close button popup.
HTML
<script src="https://webmail.hostalo.it/jquery.cookie.js"></script>
<div class="ilike_overlayer nomobile" id="ilike_overlayer" style=""><div class="ilike_overlayer_testo"><div style="float:left;">dssddsd </div><span style="float:left;margin-top:5px;">su Facebook!</span><iframe src="//www.facebook.com/plugins/like.php?href=http://www.facebook.com/electrichunterdotcom&send=false&layout=button_count&width=120&show_faces=true&action=like&colorscheme=light&font=lucida+grande&height=190" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:45px;" allowtransparency="true"></iframe></div><a class="ilike_close" id="ilike_close" onclick="javascript:close_fb();" href="javascript:void(0)"></a></div>
JavaScript
// To get/set cookie i use https://github.com/carhartl/jquery-cookie
$(document).ready(function() {
cookie=$.cookie('facebookbiglike');
if (cookie =="1"){
$("#ilike_overlayer").hide();
}
});
function close_fb(){
var date = new Date();
date.setTime(date.getTime() + (2 * 60 * 1000));
$.cookie("facebookbiglike", "1", { expires: date });
$("#ilike_overlayer").remove();
}