multiple menus caveats?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
cubefree
Super Advanced
Super Advanced
Posts: 82
Joined: Fri Aug 01, 2003 3:16 am
Location: Seattle, WA
Contact:

multiple menus caveats?

Post by cubefree »

Everything I've read so far, suggests multiple menus are possible.

And I've implemented 3 here, horiz, left and right: http://www.cubefree.com/clients/provide ... bility.asp

However, testing the links sometimes produces a jumbled menu, in my case, only with the right menu. Do you suggest any best way to present menu arrays for multiple menus.

Is it best to have them all in one JS file rather than 3 different ones?

Any ideas why it is jumbling? It does so only occasionally, refreshing immediately corrects the problem. Would you suggest scripting an automatic refresh?

Is there a way to ensure the menus are fully loaded before any functions are called? Not sure if this would cause it... for instance, what if a web user begins scrolling before the page has completely downloaded??

Hey Andy or moderators is there a way to just use the "menu following the scrolling" feature without all the other menu supporting JS. Let's say, I want to put a complicated table, etc. Would you suggest using only only one aI text string, e.g. "text=<table... etc.... /table>"?

Does using one aI(text string) vs. many make the software more efficient?

Thanks all!
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Its a long weekend here.

I haven't heard anything about multiple menus but changing the style names for each menu. I started 3 and decided it was going to cause problems. One thing I found was that simple page errors could cuase problems, it might be a good idea to test your site and then try the menus again.

It may be a bit early to expect too much.

Regards
maz
User avatar
cubefree
Super Advanced
Super Advanced
Posts: 82
Joined: Fri Aug 01, 2003 3:16 am
Location: Seattle, WA
Contact:

Post by cubefree »

Here's the solution to my issue, per Andy
Anyway, here's a suggestion. We now use a function called drawMenus() that
is used to build the menus - It's pretty much the same as
for(_a=_mnucnt;_a<_m.length;_a++){_drawMenu(_a)} that you use so what I
think might work is for you to remove all
for(_a=_mnucnt;_a<_m.length;_a++){_drawMenu(_a)} and only build the menus
once. This can be done by declaring drawMenus() after the last menu has been
built.
Post Reply