Treemenu starts in open mode

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Cirtap
Advanced
Advanced
Posts: 17
Joined: Fri Mar 19, 2004 10:02 am

Treemenu starts in open mode

Post by Cirtap »

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: Select all

<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>
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

It's the page url in the collapse data menu

You're posted link is

Code: Select all

http://www.arbetsgivaralliansen.se/Aa%20menu%20test/member1.html
and your link in the collapse data for that Testsida is that page

Code: Select all

member1.html
Ruth
Cirtap
Advanced
Advanced
Posts: 17
Joined: Fri Mar 19, 2004 10:02 am

Post by Cirtap »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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
Post Reply