**PLEASE LOCK **

huanaku

Golden Member
Jan 20, 2001
1,208
0
0
** got an answer, please lock**


** I posted in software, but no help, so I'll try here **

I am javascripting pop-up menus on my website and having a simple (I hope) problem: My menus pop up and function correctly. I have a site root directory, and then a family directory where I store my brothers and sisters individual pages, set up like this:

menu1[1]='<a href=family\curt\index.htm>Curt</a><br>'
menu1[2]='<a href=family\miriam\index.htm>Miriam</a><br>'
menu1[3]='<a href=family\marykay\index.htm>MaryKay</a><br>'

What I am trying to do is figure out how to go down a directory. Say I have the following directories:

<root>
<root>/family
<root>/java

when on a family page, i want to have a menu that will go to the java page. EX:

current page == <root>/family/curt/index.hm
I want to link to <root>/java/index.htm

How do I set up a menu to do that? I've tried

<a href=java\index.htm>Java</a>
<a href=\\java/index.htm>Java</a>
<a href = \\\java/index.hm>Java</a>

and none of them work. Anyone have any ideas??
 

rmeijer

Member
Oct 3, 2000
133
0
0
This doesn't work?
href='/java/index.htm'

you can also use relative path
href='../java/index.htm'

Sounds like you tried these two.... check your syntax closesly.
 

huanaku

Golden Member
Jan 20, 2001
1,208
0
0
That worked, thank you :) I knew it was simple, but couldn't figure it out. I tried ..java/index but not that one, thank you very much :)