by Richard
Sometimes, the only working refs need is over. With a nightstick.
That is all.
Share on Facebook
var button = document.getElementById(‘facebook_share_link_1860′) || document.getElementById(‘facebook_share_icon_1860′) || document.getElementById(‘facebook_share_both_1860′) || document.getElementById(‘facebook_share_button_1860′);
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_1860′) {
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’;
}
}
}
Tags: A Dude's [...]
Share on Facebook
