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:25
Vertical menu to expand verticaly
Poster: Cirtap
Dated: Thursday November 17 2005 - 6:50:04 GMT
Hi!
At my site I have two menubars, one horizontal and one vertical.
The problem I have with the vertical one is that when it`s expanding. The submenu expand over the text on the site. I´m, short of space so I have nohere else to place it.
What I rellay want is an menu thats expand verticaly. so the submenu push the other menu downwards.
Anyone haveing a solution for me?
/Parre
Poster: Ruth
Dated: Thursday November 17 2005 - 14:31:09 GMT
Hi,
There is a collapsible menu which expands down.
http://www.milonic.com/treemenu/
The one you want is the top one, and don't forget to also download the treemenu.js module.
Ruth
Poster: Cirtap
Dated: Sunday November 20 2005 - 17:38:29 GMT
Thx Ruth!
Just what I needed.
Do you if I can set the submenu to close on mouse out?
/Cirtap
Poster: Ruth
Dated: Sunday November 20 2005 - 18:33:37 GMT
Hi Parre,
No, it can't be set up that way, the program uses the click function in it to be able to do the treemenu so it has to retain that function. If you set it to singleMaster=true; then it will close when any item is clicked, either something in it since I'm assuming it's going to a new page so it would 'start' over on that page, or when you click its parent again, or if you click any other main menu item. The singleMaster=true; is telling the menu that only one submenu should be open at a time.
As a side note, make sure you have downloaded the newest treemenu.js module. I believe the download treemenu file hasn't been updated yet.
You can get the newest module from the Milonic Bolt-on Modules page The module is about 3/4 of the way down.
Ruth
Poster: Cirtap
Dated: Monday November 21 2005 - 11:32:02 GMT
Ruth! thx for your support but have I missed some thing?
I did a testsite just to se if and how both menu should work together. There is one problem (up to now) that I cant solve.
The top menu works ok. But when I klick to open a submenu in the collapsmenu it´s always open up the submenus in the collapsmenu´s left side and it will not expand.
It´works just like an ordinary vertical Menu
Tryed to change thetreeOffset but it wont take that.
Why!!
/Parre
code]
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Namnlös sida</title>
<script type="text/javascript" src="menunew/member_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=menunew/member_menuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=menunew/member_menudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="menunew/membermenu_data1.js"></script>
<SCRIPT language=JavaScript src="menunew/collapse_data.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="menunew/treemenu.js" type=text/javascript></SCRIPT>
<script>
function changeCM(th)
{
if(!th.checked)singleMasterMenu=false; else singleMasterMenu=true
}
</script>
</head>
<body bgcolor="#ffffff">
<p></p>
</body>
</html>[/code][/color]
Poster: Ruth
Dated: Monday November 21 2005 - 14:22:02 GMT
Hi,
Are you saying it doesn't open down? I need to see the page to see what's going on
Ruth
Poster: Cirtap
Dated: Monday November 21 2005 - 15:02:36 GMT
Hi!
And here it is:
http://www.layoutstudion.se/NewFiles/te ... ndex1.html
/Parre
Poster: Ruth
Dated: Monday November 21 2005 - 15:59:24 GMT
Hi Parre,
This isn't something I can fix. There's no version, license or site information in your program files but I have to assume they are downlevel since your collapse_data.js file works fine on my page with my program files for version 5.735.
Ruth
Poster: Cirtap
Dated: Monday November 21 2005 - 17:03:06 GMT
Ruth!
Probably have I gonne bananas.
Have mixed up differen folders so this last attept was doned with an old version, so now it works for me to.
About the licens
The top menu did I bought in mars 2004. Now when I now that this will work I gladly buy another one
Thanks
Patric
Poster: Ruth
Dated: Monday November 21 2005 - 17:23:36 GMT
Hi Patric,
I'm glad it's working... I like your colors
When you get the new menu, if you end up needing to keep it up to date always, you might take a look at the renewal setup. I believe there is a pretty hefty discount to renew if you renew when you reach the 1 year expiration date for support and updates. You should receive an email notice about that when it comes to expriration date on the menu.
Ruth