Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8155105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:34:24+00:00 2026-06-06T16:34:24+00:00

I have a problem where an element is not showing on Opera nor Firefox.

  • 0

I have a problem where an element is not showing on Opera nor Firefox. Using firebug on Firefox I could see that an error saying that a function I use to initialize the code ‘is not defined‘

Now here’s the thing, when I empty the cache on the Firefox browser, I can see my element which contains a “facebook button” and the error is gone, but once I refresh the browser I can’t see my element and returns the error again. I would have to empty out the cache in order to see the button once again.

The element is supposed to be triggered with jQuery to show if a facebook user is online, and if not it will show that button. But this is only working on Chrome & Safari, and I believe on IE8 (which i don’t have) but someone told me it worked.

This is the code to show the element on my Javascript file:

jQuery('#fbLogin').show();

Now, if i was to change this on my .css file:

#fbLogin {
display:none;
}

to this:

#fbLogin {
display:block;
 }

it will display, but the problem i saw was that it showed all the time, and this needs to be hidden if the user is logged in. I basically have a code that says .show the button and .hide if logged in…

here’s a link to a page if you want to take a look further:

http://gullypost.com/entertainment/tim-westwood-kendrick-lamar-interview/

On Safari & Chrome you will notice that the facebook button shows up on the right sidebar, but not visible on the other browsers.

Can someone help me solve the problem to this? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T16:34:26+00:00Added an answer on June 6, 2026 at 4:34 pm

    It looks like the second time the page loads, you’re getting the following JavaScript error:

    fb_og_actions_init_vid is not defined
    

    The file that contains the function is being added to the page correctly. My only guess would be to try and move the reference to the function:

    fb_og_actions_init_vid("Connected to Facebook", "108821");
    

    To within a document.ready function:

    $(document).ready(function(){
        fb_og_actions_init_vid("Connected to Facebook", "108821");
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem positioning an element in certain browsers. I'm using the jQuery
i have this really weired js problem. in summary, i get a element not
I have the following POJO , and the root element is not showing in
I have a problem with element selection, i have a form and i want
I have a problem to load specific div element and show on my page
HI! I have a problem with changing the name of a select element. I
I have the following problem, i have to know if an element has children
I've created a form with code and I have a big problem. Every element
I have a problem finding elements in XPath that's contains a certain string ignoring
I have problems setting the focus on an input element that has been created

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.