/    Sign up×
Community /Pin to ProfileBookmark

IFRAME does not load in Firefox

We integrated one web application with another using an IFRAME. There are certain actions between these two applications which cause automatical switching between the frames.

At the beginning switching works well, but after four swiches the IFRAME refuses to load the embedded application. This only happens in Firefox (Version 3.6.11, but also in older versions). Internet Explorer works well.
There is no script error, no exception in the backend and no other error.
You can right click on the empty IFRAME an say reload, but nothing happens.
If you say “actual frame” -> “show only this frame” (don’t know if the menu points are correct, becaus my Firefox has German menu language), the IFRAME opens an loads correctly. You can go back then and switching works again, but only 4 times.

If I remove the javascript call “onload = “closeOrganizer()” it chnges nothing.
I have no idea what could be the problem, but I think it’s in Firefox.
Does anybody have an idea?

The page containing the IFRAME looks like this:

[code]
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”
“http://www.w3.org/TR/html4/loose.dtd”><html>
<head>
<title>Eingebettete Frames definieren</title>

<style type=”text/css”>
html {overflow: auto;}
html, body, div, iframe {margin: 0px; padding: 0px; height: 100%; border: none;}
iframe {display: block; width: 100%; border: none; overflow-y: auto; overflow-x: hidden;}
</style>

</head>
<script src=”/bf_b2b/b2b/jscript/frames.js”
type=”text/javascript”>
</script>
<script type=”text/javascript”>

function closeOrganizer(){
try{
documents().location.href = ‘/bf_b2b/b2b/updateworkareanav.do’;

//getHistoryFrame().clearInterval(getHistoryFrame().workInterval);
highlightHeaderLink(‘careplatformLinkSpan’);
//isaTop().work_history.resize(‘invisible’,’history’);
//isaTop().work_history.closer_history.chgArrow(‘left’);

} catch(e) {
//alert(“Exception”);
}
}

</script>

<body onload = “closeOrganizer()”>
<div>
<iframe src=”/ECR_CAREPF_D~careplatform~care~servlet~company.com/index.jsp?renderHeader=false&language=DE”
width=”100%” height=”100%” name=”VP_in_a_box” frameborder=”0″ marginwidth=”0″ marginheight=”0″ id = “VP_in_a_box”>
<p>Ihr Browser kann leider keine eingebetteten Frames anzeigen:
Sie k&ouml;nnen die eingebettete Seite &uuml;ber den folgenden Verweis
aufrufen: <a href=”/ECR_CAREPF_D~careplatform~care~servlet~company.com/index.jsp?renderHeader=false&language=DE”>SELFHTML</a></p>
</iframe>
</div>
</body>
</html>[/code]

to post a comment
HTML

0Be the first to comment 😎

×

Success!

Help @stolpe spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...