Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:50

Treemenu starts in open mode


Poster: Cirtap
Dated: Tuesday October 31 2006 - 15:48:18 GMT

Hi, i'm having a problem with the treemenu. I have put in the openmenusbyurl.js to make the menu stay open when you go to another page. What´s not ok is that when you get to the site, it´s all ready in open mode.
Whats wrong?
/Cirtap


Edit: Link deleted

Code:
<script language=JavaScript src="vertico/milonic_src.js" type=text/javascript></script>
                  <script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=vertico/mmenuns4.js><\/scr"+"ipt>");      
  else _d.write("<scr"+"ipt language=JavaScript src=vertico/mmenudom.js><\/scr"+"ipt>");
</script>
                  <script language=JavaScript src="vertico/membermenu_data.js" type=text/javascript></script>
                  <script language=JavaScript src="vertico/treemenu.js" type=text/javascript></script>
                  <script type="text/javascript" src="vertico/openmenusbyurl.js"></script>
                  <script>

function changeCM(th)
{
   if(!th.checked)singleMasterMenu=false; else singleMasterMenu=true
}


</script>
                  <script type="text/javascript" src="vertico/collapse_data.js"></script>


Poster: Ruth
Dated: Tuesday October 31 2006 - 17:01:05 GMT

Hi,

It's the page url in the collapse data menu

You're posted link is
Code:
http://www.arbetsgivaralliansen.se/Aa%20menu%20test/member1.html


and your link in the collapse data for that Testsida is that page

Code:
member1.html


Ruth


Poster: Cirtap
Dated: Tuesday October 31 2006 - 18:13:28 GMT

Hi Ruth!
Yes and no?
Means that in the the two test links that I have on member1.html and member2.html is not url. But if I get this to work I will change them to url.
/Cirtap


Poster: Ruth
Dated: Tuesday October 31 2006 - 18:23:24 GMT

Hi,

openmenusbyurl opens the menu based on a url match, since that page is member1.html and the url in that item is member1.html the openmenusbyurl is opening the menu.

Ruth