_I has no properties

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
marks
Advanced
Advanced
Posts: 14
Joined: Fri Feb 13, 2004 6:50 pm

_I has no properties

Post by marks »

I've just tried to upgrade a site from 5.33 to 5.42 and it works on the web but fails when running on localhost - in my javascript console I'm gettting

"_I has no properties" on line 19 mmenudom.js"

Any pointers welcome.
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi,

Have you recently updated to SP2 of Win XP?

Kevin
marks
Advanced
Advanced
Posts: 14
Joined: Fri Feb 13, 2004 6:50 pm

Post by marks »

Hi Kevin - sorry for the slow response - I've been away.

No - I'm on Win2k
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Can you post a url to where you have it implemented on the web? Are you running it locally just processing the html, or are you actually running it locally through a local web server? (Your reference to localhost makes me thinkyou're using a staging server.)

Kevin
marks
Advanced
Advanced
Posts: 14
Joined: Fri Feb 13, 2004 6:50 pm

Post by marks »

Hi Kevin - it's all a bit odd because it sort of works now, no javascript errors - see http://www.orbys.com/octa

However the location of the menus works in Mozilla but not in IE6.

The location I'm specifying is relative to the image to which the script is attached in version 5.33, but in version 5.42 it now seems to be relative to the top left of the window?
marks
Advanced
Advanced
Posts: 14
Joined: Fri Feb 13, 2004 6:50 pm

Post by marks »

Should add - the menus position themselves ok when you first rollover them - on re-visting the positioning goes wrong. Also I've noticed that the page isn't rendering the blue background correctly, beyond the footer, but is ok on version 5.33.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

An upgrade to version 5.44 should help fix this problem.

Hope this helps.
Andy
marks
Advanced
Advanced
Posts: 14
Joined: Fri Feb 13, 2004 6:50 pm

Post by marks »

Hi Andy - it fixes the main problem.

However the rendering of the background blue is still an issue. My monitor is 1280 x 1024 so there's room for a bit of blue below the footer. The space below the footer remains white until you resize the browser, when it goes blue.

It's ok on Mozilla and was ok on IE with 5.33

See http://www.orbys.com/octa/index.php
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

I'm not with you? - Can you please explain in a little more detail (I can be a bit thick sometimes) exactly what the problem is?

Cheers
Andy
marks
Advanced
Advanced
Posts: 14
Joined: Fri Feb 13, 2004 6:50 pm

Post by marks »

Sure

Open http://www.orbys.com/octa in IE6 and you'll notice that the blue background stops level with the grey footer bar (that has the copyright notice).

Then refresh or resize the browser window and the blue backgorund then fills in below the grey footer bar, as it should.

In Firefox it's ok and it's ok in IE 6 using an earlier version of your script so i'm guessing there's a problem with the way the divs are being loaded.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

Try changing <BODY> to <BODY bgcolor="#003c7a">

This seems to fix it for me.

Which version of the menu did this used to work with?

-- Andy
marks
Advanced
Advanced
Posts: 14
Joined: Fri Feb 13, 2004 6:50 pm

Post by marks »

5.33

I could try the <BODY> tag but I'm trying to build sites using CSS only from now on so this change would go against this.
marks
Advanced
Advanced
Posts: 14
Joined: Fri Feb 13, 2004 6:50 pm

Post by marks »

I've created another version at http://www.orbys.com/octa1 which is idendical to the one you've seen at http://www.orbys.com/octa except the scripts are 5.33 - from another site but paid for :-)

This alternative works fine. It's not a critical issue, I can stick with the older version, although it would be comforting to know I could migrate to the current version in the future.
Post Reply