[WEB4LIB] Opera loading a javascript menu

Diana Calder dcalder at essex.county.library.on.ca
Tue Mar 6 14:50:16 EST 2001


Tuesday, March 06, 2001, 2:11:21 PM, Troy Swanson wrote:

ST> Dear colleagues,

ST> I am developing a tutorial that uses frames.  The left frame is a navigation
ST> menu that is created using javascript.  This frame loads fine in IE and
ST> Netscape but it will not load in Opera.  I was wondering if anyone out there
ST> could tell why?  I would love to know if it is Opera or if it is my script.

ST> I have posted the page at:
ST> http://www.mv.cc.il.us/mvcclrc/tutorial/frameset.htm

Well, after it failed to load in Opera, I took a look at the source
and noticed that it doesn't seem to actually indicate that it IS
Javascript (I've only made limited use of Javascript, but the times I
have used it, "javascript" has appeared in the code for that section).
So, then I right-clicked the frame and had Opera run it through the
W3C HTML validator, which complained about a missing DOCTYPE
declaration in Line 1, column 1 (not likely to be the cause), then
complained in Line 4, column 7 that there was an error "required
attribute "TYPE" not specified".  There are other errors reported
following that, but I suspect that the problem does in fact lie in the
specification of script type (Opera itself does not report a
Javascript error in the frame, instead it acts as if it doesn't even
know that there is any Javascript present).

Diana Calder
Automation Technician
Essex County Library





More information about the Web4lib mailing list