What steps will reproduce the problem?
1. Create an HTML page containing a frameset with one frame containing a
web page that includes ie7.js
2. Open the page.
3. Various errors occur
What is the expected output? What do you see instead?
CSS-driven menus should pop up when hovering. Instead, various errors occur.
What version of the product are you using? On what operating system?
ie7 2.0 beta, IE6 on win xp and server 2003
Please provide any additional information below.
Various top-level DOM objects accessed in ie7.js throw various errors.
Initially, the line (39 in source)
if (/ie7_off/.test(top.location.search) || appVersion < 5) return;
fails because top.location cannot be accessed. Commenting out that line
causes an error at line (2191)
body.className += " ie7_body";
body is set a few lines above via document.body, which is not the body I
expect in the frame's view, it's the containing document's body (with the
frameset), and I can't append to that className. That's not the body I
want, anyway. I want my frame's document's body so I can add the
"ie7_body" class.
In any event, the result is that my CSS menu doesn't work. There may be
other issues, but since the JS is bombing out, the framework can't set up
my IE6 browser.
The CSS menus for this "framed" example works fine in both IE7 and Firefox.
Original issue reported on code.google.com by rgrei...@gmail.com on 7 May 2008 at 8:14
Original issue reported on code.google.com by
rgrei...@gmail.com
on 7 May 2008 at 8:14