I have added a new framed page to a site and it will display in Netscapte but not in IE. Also, I can display the unframed page in both. I tried creating the page in both Frontpage and Dreamweaver. What am I doing wrong? Thanks.

Dani AI

Generated

Good that tracked it down to a browser-incompatible variable. For anyone hitting the same symptom (frame shows in Netscape but not in IE), the usual culprits are JavaScript errors, name collisions between frames/elements and global variables, malformed frameset markup or a server/security header preventing framing. Historical browser differences around how named elements become properties on window can make a name that “works” in one browser break another — see the spec on named access on the window object for details: named access on the window object.

Quick troubleshooting checklist

  • Open the IE console (F12) and look for JavaScript errors; a runtime error in the framed page often makes it appear broken.
  • Validate the frameset/HTML and DOCTYPE so rendering mode isn’t different between browsers (quirks vs standards).
  • Look for name collisions: avoid giving frames, form fields or elements the same identifier as script variables or built-ins; scope variables with var/let/const or wrap code in an IIFE.
  • Check network responses and headers (404s, content-type, or X-Frame-Options blocking framing): X-Frame-Options header.

Small example pattern to avoid collisions

<frameset cols="25%,75%">
  <frame src="nav.html" name="navFrame" />
  <frame src="main.html" name="mainFrame" />
</frameset>

<script>
(function(){
  var navState = {}; // local — won't collide with window.navFrame
})();
</script>

Tying back to the thread: ’s request to see the framed page and ’s suggestion to post code are exactly the right next steps — when asking for help, include the frameset markup, the framed page that fails, any scripts it uses, and the browser console/network error text.

Recommended Answers

All 3 Replies

Could you please show the framed page?

not just show us the framed page, Post the code used to write these pages, and maybe post them in the web design area, for those people out there that know lots about HTML and such (lol like mee ;)) you might have somthing defined thats a netscape variable only thats killing it in IE.

Thanks, I looked for a variable which wouldn't work with IE and that was the problem. It works! Thank you!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.