sub-menus always open

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
mhjb
Beginner
Beginner
Posts: 2
Joined: Sun Nov 10, 2002 11:04 pm
Location: Wellington, NZ
Contact:

sub-menus always open

Post by mhjb »

Hi there

I'm currently working on a slight structural revamp of a site. You can see it here:

http://techs.co.nz/clients/fel/

I want the green and orangey submenus to be always open, with the white menu opening on mouseover. You can see the difficulties i'm having at the moment. I use Win2000/IE6. You can download my menu_array.js at

http://techs.co.nz/clients/fel/menu/menu_array.js

I'd really appreciate anyone's help.

cheerio
Matt
mhjb
Beginner
Beginner
Posts: 2
Joined: Sun Nov 10, 2002 11:04 pm
Location: Wellington, NZ
Contact:

Post by mhjb »

has no one else ever had downwards menus always open before?

cheerio matt
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 Matt,

I'm assuming you're referring to the "Always Visible" setting; the 8th element of a menu array? If so, I would guess that setting Always Visible to 1 would be the norm for anyone who uses a vertical main menu. Submenus are probably more rare to have always open, but they give a nice effect on your site, once they're in place.

Looking at your menu_array.js file, I'd have to say the the "new" and "existing" submenus initially open at x,y = 0,0 because they have no predefined position in their menu arrays. They don't know where else to go until they are re-opened underneath a calling main menu item. Note, for example, that your "main_menu" has it's Menu Top and Menu Left screen coordinates preset in its menu array (the 2nd and 3rd elements of the array, respectively), so it starts out where you want it. But the "new" and "existing" menu arrays do not have their Top (2nd element) and Left (3rd element) positions set; try setting them to the desired starting positions. If I were a sinner -- or if I had anyone sitting near me at the moment to bet -- I'd bet money that'll work!

Hope that helps,

Kevin
Post Reply