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

  • Home
  • SEARCH
  • 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 7195545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:36:01+00:00 2026-05-28T20:36:01+00:00

I have developed an iframe for a web dashboard for our charitable org which

  • 0

I have developed an iframe for a web dashboard for our charitable org which is giving me some issues with the jQuery UI.

On the actual iframe, the tabs and accordian are not functioning as intended. At the top of the page, you’ll see a couple but you can’t actually change from one to the other.
http://www.thegaiaproject.ca/charts/realtime-iframe.php?location=18

The strange thing is that as soon as the iframe is loaded inside of our drupal site, the iframe functions perfectly.
http://www.thegaiaproject.ca/data/realtime-test?location=18

Unfortunately, the same can not be said when the iframe is loaded on another organizations WordPress site.

Any ideas? I’ve been trying to debug this for hours. I’ve already tried loading in all the external scripts that drupal calls one-by-one to see if one of them was necessary – but that hasn’t helped me.

  • 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-05-28T20:36:02+00:00Added an answer on May 28, 2026 at 8:36 pm

    The problem is that the page requires itself being in an iframe. I noticed that each time a tab is selected, it calls the following function:

    function sizeFrame() {
        var F = window.parent.document.getElementById("realtime-dashboard");
        if(F.contentDocument) {
            F.height = F.contentDocument.documentElement.scrollHeight+30; //FF 3.0.11, Opera 9.63, and Chrome
        } 
        else {
            F.height = F.contentWindow.document.body.scrollHeight+30; //IE6, IE7 and Chrome
        }       
    }
    

    Upon executing this function, it’s looking for a parent document (of which there is none) and throwing the error F is null for me (in Firefox’s Error Console), and subsequently tripping up the rest of the javascript.

    Try slapping a test-for-null if statement into that function that handles the iframe’s non-existence, and I suspect it’ll cause the rest of your page to work as intended.

    Hope it helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some elements created with jQuery that are added in a iframe. I
I have developed some classes with similar behavior, they all implement the same interface.
I have developed some custom DAO-like classes to meet some very specialized requirements for
We have developed our website(Business users website) in .net Framework 2.0 Our client us
We have developed a website that uses MVC, C#, and jQuery. In one of
I have developed about 300 Applications which I would like to provide with multi-language
I have developed a framework that is used by several teams in our organisation.
A few years ago I developed a web app for which we wanted to
I have developed a Facebook application that runs inside an iframe in the Facebook
I have developed a face book iframe application in .net c#.First time when user

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.