Forums

Code showing up under post (3 posts)

  1. ebrownco
    Member
    Posted 2 years ago #

    This code is showing up under one of my post and I dont know how to remove it:

    My website is http://www.the-dropshow.com (its the second post on the homepage)

    var button = document.getElementById(’facebook_share_link’) || document.getElementById(’facebook_share_icon’) || document.getElementById(’facebook_share_both’) || document.getElementById(’facebook_share_button’);
    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’) {
    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’;
    }
    }
    }

    Why is it showing here and no where else?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    What - if anything - do you have in that post? Have you tried deactivating the Facebook Share plugin?

  3. ebrownco
    Member
    Posted 2 years ago #

    Thanx! It was the plugin...I am using another one now and it works just fine!!

Topic Closed

This topic has been closed to new replies.

About this Topic