Unable to Show Amazon-Style Menu's Sub-Menu Automatically

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
pmerlyn
Beginner
Beginner
Posts: 5
Joined: Thu Jun 09, 2005 5:50 pm

Unable to Show Amazon-Style Menu's Sub-Menu Automatically

Post by pmerlyn »

Hello Support Forum,

I recently began using Milonic's excellent menu system to create an Amazon-style tab menu with one level of submenus. My page is at: http://www.newresolution.org/home.html.

The problem: As you'll see when you visit that page, only the main menu opens when the page loads. The submenus remain closed until the user clicks on one of the tab menu items in the main menu.

What I want to happen: I want a submenu (specifically, the submenu that is associated with the first item [labeled 'Mediation'] in the main menu) to show automatically whenever the newresolution.org/home.html page first loads.

Background: I'm using Windows XP Professional and experience the same situation in both IE and Netscape.

Thank you for your help with this great product.

Best wishes,

Paul
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 Paul,

A quick thought: If you give your submenus a top position (which should work, since all of your submenus open in the same place), then you could open any particular submenu using a call to popup('MenuName') from the onload event. E.g., on your home.html page, you could have:

Code: Select all

<body onload="popup('MainMenu1')">
For pages reached by the submenu items, you could try automatically opening the correct submenus using the openmenusbyurl.js add-on module.

Cheers,

Kevin
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I'm so sorry. I was working on this and meant to post and forgot. Must be that 'old age syndrome' everyone talks about :) The openmenusbyurl.js module is the way to go and it will work when the bug is fix. The new version does not work, and I've reported it.

Ruth
pmerlyn
Beginner
Beginner
Posts: 5
Joined: Thu Jun 09, 2005 5:50 pm

openmenusbyurl.js module

Post by pmerlyn »

Hi Ruth and Kevin,

Thank you both for your replies. I didn't have success with the call-to-popup approach, so it looks like I should wait for the fix to the openmenusbyurl.js module. Would you please let me know when it's available and where I can obtain it when it's ready.

Thank you and best wishes,

Paul
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Paul,

Sure will. It has been reported, so as soon as they can get it fixed we'll let you know. It's one of the Milonic Bolt-on modules. You can find that on the main site under the DHTML Menu heading of the menu. Down toward the middle, I think it is. Says Bolt-on Modules.

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

Post by Andy »

Hi,

The issue with openmenusbyurl.js has now been fixed.

If you upgrade the file http://milonic.com/openmenusbyurl.js the menus should open up again

Regards,
Andy
pmerlyn
Beginner
Beginner
Posts: 5
Joined: Thu Jun 09, 2005 5:50 pm

Post by pmerlyn »

Hi Andy, Ruth, and Kevin,

Thanks for letting me know about the fix to the openmenusbyurl.js bolt-on module.

Best wishes,

Paul
Post Reply