Release Candidate 2

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Release Candidate 2

Post by Andy »

I would consider this release to be production quality, it's already in use on a number of sites and I've had no complaints so far.

Once we get the new site and documentation ready, we will go for launch

http://milonic.com/v5_rc2/menu.htm

Cheers
Andy
Last edited by Andy on Thu Jul 17, 2003 9:42 am, edited 1 time in total.
tommcmur
Advanced
Advanced
Posts: 27
Joined: Tue Jul 08, 2003 7:46 pm

RC 2 Bug

Post by tommcmur »

It seems that more than 2 menus cannot be placed on a page. The third menu does not show up.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

Do you have a demo of this so that we can see it?

It's possibly a config issue but of course I can't rule out that it isn't a bug.

Cheers
Andy
tommcmur
Advanced
Advanced
Posts: 27
Joined: Tue Jul 08, 2003 7:46 pm

example page.

Post by tommcmur »

there should be a menu on top of the building image.
http://www.montreat.edu/new/
tommcmur
Advanced
Advanced
Posts: 27
Joined: Tue Jul 08, 2003 7:46 pm

Further evidence of the issue

Post by tommcmur »

I used the table.htm file included with the rc2 zip and inserted vertical_data.js and horizontal_data.js in different locations. The menu that was placed last does not show.

Thanks for your work on this.

Tom
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Is it the blue "Popular Pages" menu that fails to appear?

Also, it appears for me when I resize the browser, does it also appear for you?

-- Andy
tommcmur
Advanced
Advanced
Posts: 27
Joined: Tue Jul 08, 2003 7:46 pm

the blue menu appears correctly for me

Post by tommcmur »

There is a menu that should be showing up over the image of the chapel. Actually, the menu sits directly on top of the image (the image is a background image for the table cell). if you look at the source of the page there is a menu called navmenu.js. this is the one that does not appear.
tommcmur
Advanced
Advanced
Posts: 27
Joined: Tue Jul 08, 2003 7:46 pm

resize makes menu show

Post by tommcmur »

I just tried the resize and the menu does show. Could that be a bug? If not, what can I do about it?
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

It appears that the table is being rendered before the menu. I would consider this a bug.

When I run a copy your site on our local 100m/sec switched network it works fine. Accessing over the Internet is where the problem lies.

Leave it with me and I'll see what I can do

Cheers
Andy
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Right, I've figured out what the problem is.

The problem is the position of your style declarations.

These are placed after a menu has been rendered and I would have though that this method was not possible. Just shows how good this new menu is. It's almost rock solid :)

Anyway, standard practice has always been to declare your styles, then declare your menus. What you are doing is declaring a style, then some menus, another style, more menus, another style and then some more menus. This as I say, shouldn't be possible but it is working, albeit buggy.

The work around is to declare all your styles in the script-startNew.js file then you are free to declare your menus as you see fit. This method does work and it works quite well.

My problem now is trying to decide if this is indeed a bug or if it's just an inadequacy of the menu system.

It's certainly not a show-stopper so I'm happier than I was a few minutes ago but I'm in a dilema as to whether this needs fixing or not?

What do you guys think?

Cheers
Andy
tommcmur
Advanced
Advanced
Posts: 27
Joined: Tue Jul 08, 2003 7:46 pm

styles

Post by tommcmur »

Thanks, I had it that way with version 3. I didn't think about it the same way in 5. I'll try it and let you know the results.
tommcmur
Advanced
Advanced
Posts: 27
Joined: Tue Jul 08, 2003 7:46 pm

did not fix

Post by tommcmur »

I have adjusted the scripts as suggested and the menu still only shows upon resizing page. Any other suggestions?
tommcmur
Advanced
Advanced
Posts: 27
Joined: Tue Jul 08, 2003 7:46 pm

4.0 1.13 beta works properly

Post by tommcmur »

I've gone back to 1.13 version of the beta and the page loads correctly. Hope this helps in some way.
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

I am running IE 6.0 on a Win2000 machine and the menu loads fine. I am guessing its because you went back to the other menu version, duh!

But I am curious to know why you don't put the startNew and the popular menus together. You can apply totally different styles to each menu so they render differently using v5.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
tommcmur
Advanced
Advanced
Posts: 27
Joined: Tue Jul 08, 2003 7:46 pm

reply to Hergio

Post by tommcmur »

I had the menus separate because of alignment issues originally and just haven't put them together. I might do that now.
tommcmur
Advanced
Advanced
Posts: 27
Joined: Tue Jul 08, 2003 7:46 pm

Update on menu issues

Post by tommcmur »

For some reason now the beta is not appearing on the page until after a refresh. Twill posted a similar problem with RC2 about getting multiple tables to appear when embedded in tables.

EDIT>Oops! I somehow had the wrong version (RC2) back in the directory. I changed back to beta 1.13 and all works again. Sorry for the mixup.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

I've just had a thought and I think I know what it might be.

In the file milonic_src.js for RC2 there is a variable called "_mDepth" this is set to 1 by default, try changing it to 2 and then 3 and see if the same number of menus appear for the value you try for.

Let me know if it helps

Cheers
Andy
tommcmur
Advanced
Advanced
Posts: 27
Joined: Tue Jul 08, 2003 7:46 pm

_mdepth

Post by tommcmur »

Andy,

I tried your suggestion. It did not correct the problem.

Thanks,

Tom
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Right, I've added a little coding to the menu to fix this problem.

I've posted a demo of your site to http://www.milonic.co.uk/tests/mont.htm

The only file you need to change is http://www.milonic.co.uk/tests/mmenudom.js

I've also notices an issue with Netscape 7 but if you set the itemwidth for the navmenu in navmenu.js to 145 it helps fix it.

Let me know if this helps.

Cheers
Andy
tommcmur
Advanced
Advanced
Posts: 27
Joined: Tue Jul 08, 2003 7:46 pm

Thanks, that works great for IE

Post by tommcmur »

Now problem with Netscape. After viewing one menu, rolling over anothe menu causes menus at top to reorder and/or duplicate themselves out to the right.
Post Reply