No, ma è bellissimo

var button = document.getElementById(‘facebook_share_link_5486’) || document.getElementById(‘facebook_share_icon_5486’) || document.getElementById(‘facebook_share_both_5486’) || document.getElementById(‘facebook_share_button_5486’);
if (button) {
button.onclick = function(e) {
var url = this.href.replace(/share\.php/, ‘sharer.php’);
window.open(url,’sharer’,’toolbar=0,status=0,width=626,height=436′);
return false;
}

if (button.id === ‘facebook_share_button_5486′) {
button.onmouseover = function(){
this.style.color=’#fff’;
this.style.borderColor = ‘#295582’;
this.style.backgroundColor = ‘#3b5998’;
}
button.onmouseout = function(){
this.style.color = ‘#3b5998’;
this.style.borderColor = ‘#d8dfea’;
this.style.backgroundColor = ‘#fff’;
}
}
}

Related posts:Non si piange, per ridere
Distanti saluti via email?

Related posts:

  1. Non si piange, per ridere
  2. Distanti saluti via email?


Leggi l’articolo originale su: Distanti saluti

To Top