Is it possible to create a menu that looks like this?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

Re: Is it possible to create a menu that looks like this?

Post by nwilcox »

Everything looks fantastic now...

http://clients2.serverside.net/serverside/?action=home

http://clients2.serverside.net/serversi ... on=content

I was able to do everything I needed except the sub menus for submenus but I was able to get that to look pretty good as well (good enough for me) :D :D :D

I really appreciate all the help Ruth. We've done over a dozen menu implementations and this was the most complicated layout by far.
Nick Wilcox
Web Developer
ServerSide, Inc.
http://www.serverside.net
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Is it possible to create a menu that looks like this?

Post by Ruth »

Hi,

Not sure what you mean by the submenu comment.

One thing I forgot to mention. In the items that open from the why buttons, since they are not links to click, you could add to each of those items pointer=default; and then the cursor will not changed to a hand, it will stay an arrow.

Code: Select all

aI("pointer=default;text=Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.;rawcss=padding:12px;");
Ruth
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Is it possible to create a menu that looks like this?

Post by Ruth »

I have something for you to try for that menu capabilities submenu :)

Here is the subimage for it [not real easy to see on the blue but it's there], and the aI string coding. Then see below for coding that menu.

Image

Code: Select all

aI("rawcss=padding:0 12px 0 12px;itemheight=17px;text=Capabilities;url=http://milonic.com/login.php;showmenu=MenuCapabilities;subimage=arrow.gif;onsubimage=arrow_over_up.gif;");
Then that menu capabilites submenu would be

Code: Select all

with(milonic=new menuname("MenuCapabilities")){
style=menuStyleDevelopment;
menuwidth="237px";
top="offset=18";
left="offset=-237";
openstyle="up";
aI("type=disabled;image=spacer.gif;imageheight=5;");
aI("rawcss=padding:0 12px 0 12px;itemheight=17px;text=Content Management System;url=http://milonic.com/login.php;");
aI("rawcss=padding:0 12px 0 12px;itemheight=17px;text=E-Commerce Systems Integration;url=http://milonic.com/login.php;");
aI("rawcss=padding:0 12px 0 12px;itemheight=17px;text=.net, ASP, SQL, Flash<hr>;url=http://milonic.com/login.php;");
aI("type=disabled;image=spacer.gif;imageheight=5;");
}
You'll see that I put a hr rule code in the .net, Asp etc item. Now, you could instead make that spacer image into an 5px high image that has a 1px yellowish colored line at the top and the rest transparent to give it a line the same color as the text. I just thought this might solve the problem of the submenu opening at the side. This way, since it is not really high it would open up above, not really go over much of the flash and keep in line with the main menus.

Ruth
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

Re: Is it possible to create a menu that looks like this?

Post by nwilcox »

okay great advice thanks! I'll experiment a little more with it

Thanks Ruth! I'm very happy with how this all turned out. You sure know your stuff
Nick Wilcox
Web Developer
ServerSide, Inc.
http://www.serverside.net
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

Re: Is it possible to create a menu that looks like this?

Post by nwilcox »

one more question Ruth and I'll be out of your hair ;)


Can you overlay a separate image or another Milonic menu over the Client Login Menu? I'd like to place a graphic/menu item over the client menu as indicated here with the "Please login..."

Image
Nick Wilcox
Web Developer
ServerSide, Inc.
http://www.serverside.net
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

Re: Is it possible to create a menu that looks like this?

Post by nwilcox »

My Menu background image is not display for sub menus under development tab at the top. Am I doing something wrong?

http://...?content=content_development

Thanks!
Last edited by nwilcox on Mon Feb 04, 2008 10:21 pm, edited 1 time in total.
Nick Wilcox
Web Developer
ServerSide, Inc.
http://www.serverside.net
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Is it possible to create a menu that looks like this?

Post by Ruth »

Hi,

You seem to have two styles called the same thing.

1.with(menuStyleDevelopmentSub=new mm_style()){ which has the background images in it.
2. menuStyleDevelopmentSub=new copyOf(menuStyleDevelopment) which is copying the menuStyledevelopment which has no background images in it.

I have to think that has something to do with it.

Ruth
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

Re: Is it possible to create a menu that looks like this?

Post by nwilcox »

wow that was a rookie mistake! :oops:

I'm gonna pretend I never ever posted this ahahahahahaha

Thanks again Ruth... always there when I need your help :)
Nick Wilcox
Web Developer
ServerSide, Inc.
http://www.serverside.net
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Is it possible to create a menu that looks like this?

Post by Ruth »

I forogt, you need to upgrade to the newest version, 5.790. .89 had a bug fix and 90 has a change for prototype [about which I could say something, but won't since it wouldn't make them any different in their action/attitude] anyway, Milonic has again for the zillionth time changed their programming because of again a function name which prototype has decided to use in their programming

Ruth
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

Re: Is it possible to create a menu that looks like this?

Post by nwilcox »

okay I'll make sure to do that before we launch.

I won't get into who does what either but if people are forcing changes, I'd like to throw my hat in riing and ask the tree menu get overhauled so it can open the "sub-tree" on mouseover instead of only on click. Whatever function runs onclick should be able to run onmouseover I would think.

I think that is a VERY important feature for the TreeMenu that is currently lacking.

Thanks!
Nick Wilcox
Web Developer
ServerSide, Inc.
http://www.serverside.net
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Is it possible to create a menu that looks like this?

Post by Ruth »

Hi,

You'd need to contact Milonic with the suggestion. I don't know that it would be possible, or maybe it would be too involved in programming to do that. What the treemenu does is when it is clicked it 'shoves' the stuff below it down. I don't know how you'd do that with a mouseover since that actually opens a different block of stuff.

Ruth
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

Re: Is it possible to create a menu that looks like this?

Post by nwilcox »

Ruth wrote:Hi,

You'd need to contact Milonic with the suggestion. I don't know that it would be possible, or maybe it would be too involved in programming to do that. What the treemenu does is when it is clicked it 'shoves' the stuff below it down. I don't know how you'd do that with a mouseover since that actually opens a different block of stuff.

Ruth
Thanks Ruth... one more question. I there a way to force a tree menu sub to open at page load?

Thanks again!
Nick Wilcox
Web Developer
ServerSide, Inc.
http://www.serverside.net
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Is it possible to create a menu that looks like this?

Post by Ruth »

Hi,

Yes, there is something called openBranchByName. I haven't used it. I've done some research over time to find out about it, and posted in response. It seemed to work OK, so I guess I got it right :)

viewtopic.php?p=40040#p40040

viewtopic.php?p=42606#p42606

Ruth
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

Re: Is it possible to create a menu that looks like this?

Post by nwilcox »

worked like a champ! Thanks Ruth!
Nick Wilcox
Web Developer
ServerSide, Inc.
http://www.serverside.net
Post Reply