Click to See Complete Forum and Search --> : Blank Frame on Refresh


meridian151
09-11-2003, 10:05 AM
I'm not very experienced with JavaScript, and would REALLY appreciate any insight someone can give me on this problem.

Let me preface this message by saying that the use of frames was the company's brilliant idea/requirement, not mine. ; )

I have a site using a shareware JavaScript menu to hover the pull-down over the second frame. The company wanted their banner and the footer to be present all the time and wanted the frameset construction.

The problem occurs upon refreshing the page. The main frame of the page (mainFrame) appears to load the appropriate html (view source); however, the output is not visible.

What devil-work is at play here? ; )
http://www.investorshomesource.com

Fang
09-12-2003, 02:39 AM
This is a IE specific problem. Offline the page (re-)loads normally.
A bit of a guess here, the frame check may need to be done after the page has loaded.

meridian151
09-12-2003, 08:52 AM
I hate to continue my legacy of ignorance, but how would I do that?

Fang
09-12-2003, 09:14 AM
Change this section:
<script>
function Framed() {
if (parent.location.href == self.location.href){
window.location.href = 'index.htm'
}
}
</script>
</head>
<body onload="Framed();" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

meridian151
09-13-2003, 09:03 AM
Hmmm... I tried that (I'm having the problem still in both NS and IE) and it didn't do anything differently, except throw an error when the page is initially loaded because it couldn't find the menu object from the top frame.

When I debug it on my testing server, the ColdFusion debugging code shows up with no trouble (ColdFusion attaches a group of tables to the bottom of your page, which are not wrapped in the <html></html> tags. This is all visible (even when the rest of the frame is blank), but everything between the HTML tags is blank. Both the HTML and the CFML code show up together when I view source...

What could possibly cause only the HTML output to not render, but still be visible in the source?

Fang
09-13-2003, 10:17 AM
Is the page generated by ColdFusion?
If so try a "normal" HTML page in this frame to see if the problem is with rendering or ColdFusion.

meridian151
09-15-2003, 10:14 PM
The vast majority of the site's pages are created using ColdFusion (to control several dynamic stylesheet elements); however, it has the same problem when I attempt to load a plain HTML document in the mainFrame and then refresh.