Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:28
Milonic DHML Menu at bottom of screen
Poster: genetti
Dated: Friday May 14 2004 - 0:21:39 BST
Will this menu sytem work at the bottom of the screen as well? I would like to have them menu at the bottom of the screen on my website and instead of 'pull-downs', i want it to 'pull up' I checked through the examples of the menu on this site and saw none that worked in this way...
Poster: Maz
Dated: Friday May 14 2004 - 3:53:32 BST
It does work, its been a while since I've done that. I can't remember if there is a style like ltr (left to right) that opens up.
Yep, that's it, click on menu style to see openstyle="up";
maz
thanks for your help!
Poster: genetti
Dated: Wednesday May 19 2004 - 23:18:34 BST
thanks for your help!
can't get it working
Poster: nathanv __at__ ddmnet.com
Dated: Tuesday May 25 2004 - 19:55:24 BST
Maz wrote:
It does work, its been a while since I've done that. I can't remember if there is a style like ltr (left to right) that opens up.
Yep, that's it, click on menu style to see openstyle="up";
maz
Yep, that's it, click on menu style to see openstyle="up";
maz
I've just purchased the stock vertical menus and am trying to get my menus to open 'up' too. I've set the openstyle var in a couple of different places, to no avail.
Code:
with(milonic=new menuname("Milonic")){
style=menuStyle;
openstyle='up';
aI("text=Product Purchasing Page;url=http://www.milonic.com/cbuy.php;");
aI("text=Contact Us;url=http://www.milonic.com/contactus.php;");
style=menuStyle;
openstyle='up';
aI("text=Product Purchasing Page;url=http://www.milonic.com/cbuy.php;");
aI("text=Contact Us;url=http://www.milonic.com/contactus.php;");
http://clients.ddmnet.com/hekman/contract/menu_sample2_ver5_20/menu.htm
Am i trying to set it in the wrong place?
Is there another menu setting that will override the openstyle value?
in a crunch
Nate
Poster: John
Dated: Tuesday May 25 2004 - 20:02:03 BST
Try openstyle="up"; . You are using single quotes in your example.
Poster: nathanv __at__ ddmnet.com
Dated: Tuesday May 25 2004 - 20:17:56 BST
nope.... do i set that on a per sub menu basis or does that get set in the style
declaration? many questions as i'm new to this whole menu system
however on the whole it looks like i could be buying many more of these for my other clients
Poster: John
Dated: Tuesday May 25 2004 - 20:24:33 BST
Homework assignment!
http://www.milonic.com/forum/viewtopic.php?t=2981
openstyle= is a menu property, and gets set right where you have it in your example.
As for your example, it can't open up because the menu is already at the top of the page.
See http://www.west.asu.edu/sa/testsite/.
homework
Poster: nathanv __at__ ddmnet.com
Dated: Tuesday May 25 2004 - 20:44:56 BST
i had read them. that's why i decided to buy because it had the openstyle="up" property.
here's more code so you can see scope
Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=300;
left=10;
alwaysvisible=1;
overflow="scroll";
aI("text=Homsesefe;url=http://www.milonic.com/;status=Back To Home Page;");
aI("text=Milonic;showmenu=Milonic;");
aI("text=Partners;showmenu=Partners;");
aI("text=Links;showmenu=Links;");
aI("text=My Milonic;showmenu=My Milonic;");
}
with(milonic=new menuname("Milonic")){
style=menuStyle;
openstyle="up";
aI("text=Product Purchasing Page;url=http://www.milonic.com/cbuy.php;");
aI("text=Contact Us;url=http://www.milonic.com/contactus.php;");
aI("text=Newsletter Subscription;url=http://www.milonic.com/newsletter.php;");
aI("text=FAQ;url=http://www.milonic.com/menufaq.php;");
aI("text=Discussion Forum;url=http://www.milonic.com/forum/;");
aI("text=Software License Agreement;url=http://www.milonic.com/license.php;");
aI("text=Privacy Policy;url=http://www.milonic.com/privacy.php;");
}
style=menuStyle;
top=300;
left=10;
alwaysvisible=1;
overflow="scroll";
aI("text=Homsesefe;url=http://www.milonic.com/;status=Back To Home Page;");
aI("text=Milonic;showmenu=Milonic;");
aI("text=Partners;showmenu=Partners;");
aI("text=Links;showmenu=Links;");
aI("text=My Milonic;showmenu=My Milonic;");
}
with(milonic=new menuname("Milonic")){
style=menuStyle;
openstyle="up";
aI("text=Product Purchasing Page;url=http://www.milonic.com/cbuy.php;");
aI("text=Contact Us;url=http://www.milonic.com/contactus.php;");
aI("text=Newsletter Subscription;url=http://www.milonic.com/newsletter.php;");
aI("text=FAQ;url=http://www.milonic.com/menufaq.php;");
aI("text=Discussion Forum;url=http://www.milonic.com/forum/;");
aI("text=Software License Agreement;url=http://www.milonic.com/license.php;");
aI("text=Privacy Policy;url=http://www.milonic.com/privacy.php;");
}
i had looked through the portions of the forum that refernced openstyle
and i figured i was doing correctly
http://clients.ddmnet.com/hekman/contract/menu_sample2_ver5_20/menu.htm
i've moved the main menu down far enough to allow room for the subs to show 'up'.
do i actually need to bottom align the menu?
thanks for all your help
Nate
Poster: John
Dated: Tuesday May 25 2004 - 20:51:39 BST
Did you look at the example I posted in my message above? It opens up perfectly.
Poster: nathanv __at__ ddmnet.com
Dated: Tuesday May 25 2004 - 21:11:06 BST
sorry i didn't until you called attention to it.
i need vertical menus that open up
if you look at the site i posted there's a vertical menu
i need the subs to go up relative the chosen item on the vertical menu
<pre>
sub 2-2
sub 2--sub 2-1
main menu item---sub 1
main menu item
main menu item
</pre>
is that possible?
or do i need to fake a vertical by stacking a bunch of horizontals and messing with the offsets?
sorry for the confusion
Nate
Poster: John
Dated: Tuesday May 25 2004 - 21:27:21 BST
It appears that 'up' does not work on verticals. I don't know if that's by design or a bug.
However, by fiddling with _subOffsetTop=-100 a bit you can still make them open up. See the same link above now.
Poster: Ruth
Dated: Saturday May 29 2004 - 17:49:34 BST
I saw your post in the beginners' help polls section about the opening up. That would have to be something that the menu programmers designed. Or an advanced javascript function. But here is one section you might check. I'm not sure that anything there would help, but perhaps the pop function. http://www.milonic.com/menu_methods.php It seems you're asking the menu to function backwards to it's program. _subOffsetTop sets the submenu based on the numeric value and the 'top' of the submenu, so if you set it at 0 then it would open with the TOP of the submenu right on line with the main menu item. You seem to want it to set the bottom of the submenu at that position. You might be able to define a javascript function to do that. If a javascript function is possible that would probably be the easiest way to do it.
Ruth