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önnen die eingebettete Seite ü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>