| 1:50 pm on May 22, 2002 (gmt 0)|
Could you post the (x)html?
| 2:13 pm on May 22, 2002 (gmt 0)|
Here ya go...
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="blah blah" />
<meta name="description" content="blah blah" />
<link rel="stylesheet" href="dki.css" type="text/css" />
<body bgcolor="#FFFFFF" text="#000000">
<noscript>Your browser does not support script</noscript>
I just noticed something - I didn't include the DOCTYPE. When I add this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
it doesn't work in NN6 (still ok in MSIE though).
| 2:14 pm on May 22, 2002 (gmt 0)|
Or did you mean the original xhtml document?
| 2:32 pm on May 22, 2002 (gmt 0)|
Er, well, try moving the external script links before the function call in the XHTML document, like so.
Without seeing the originals (XHTML or scripts), I can't think of anything else immediately.
| 2:47 pm on May 22, 2002 (gmt 0)|
I just stickied you the URLs if you have time.
| 3:47 pm on May 22, 2002 (gmt 0)|
I was reading up on DOCTYPE and it lead me to trying this:
I changed the HTML DOCTYPE declaration from HTML 4.01 Transitional//EN to HTML 4.0 Transitional//EN and the menu shows up in NN6 fine. Go figure.
Unfortunately, I don't see a similar solution to the XHTML version.
| 4:12 pm on May 22, 2002 (gmt 0)|
let's see the menu xhtml itself please lorax?
| 4:31 pm on May 22, 2002 (gmt 0)|
I stickied you the info as well. I've got to take a break from this to get some air - before I completely lose it!
| 8:05 pm on May 22, 2002 (gmt 0)|
Okay, not to get your hopes up, but over lunch I took a look at the stuff you stickied me and this is what I found out.
As a result, when Gecko (the rendering engine) renders the output of the script, the computed style values for size and positioning values are all screwed up (width of 0px or 0.666667px, for example), and the menu isn't visible (although it is there).
As an aside, I noticed in MSIE 6 that the positioning of the submenus is getting also getting hosed when you add a DOCTYPE.
So ... the problem is in the menu_com.js file and the way it is constructing and rendering the menu. Alas, this is a very complex js -- too complex for my small brain to debug in the time I have available. I'd suggest either:
Sorry I couldn't be of more help.
- contact the original author
- do without the doctype
| 9:41 pm on May 22, 2002 (gmt 0)|
Moonbiter & Nick,
BTW moonbiter - I love your profile image!
| 9:42 pm on May 22, 2002 (gmt 0)|
Whoops - you don't have a profile image - now who was that??
| 1:54 pm on May 28, 2002 (gmt 0)|
As it turns out I wrote the author of the script and told him about the problem. Upon thinking more about this I realized that the script has to create HTML elements and - as Moonbiter pointed out - these may not be well formed.
The author wrote me back and noted that he agreed and supplied me a link to the updated version in which he had fixed the problem. So... I think the problem may be solved.