Question about nested links

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
tomandthecats
Beginner
Beginner
Posts: 3
Joined: Mon Sep 02, 2002 4:46 pm
Contact:

Question about nested links

Post by tomandthecats »

Good afternoon Andy,
I appreciate the work you are doing here. I left a question yesterday, but have worked through it and found the linkage problems I was having. My question now is about nested links.

My menu configuration files are located in a parent directory. I have a picture gallery that consists of a thumbnail pages and the cooresponding pages to each thumbnail displays. Both the thumbnail and cooresponding pages all display the menu.

You probably know what the problem is already, but I'll explain for the public.

When in the thumbnail pages the menu works fine to get to the other thumbnail pages. When I'm in the nested pages and access the menu, the linkage doesn't work...because I'm asking for link that the menu thinks is linked from the nested page.

the links look something like this "../../parent/nested.html

when I change the links in the menu_array.js file to look like this

../../../parent/nested.html

then the menu only works from the nested pages and not the thumbnail pages.

Is there any way around this please

Thanks for your time
Tomcat
Hardi
Beginner
Beginner
Posts: 6
Joined: Wed Sep 04, 2002 10:29 am
Location: Wädenswil (ZH) Switzerland

Re: Question about nested links

Post by Hardi »

:D Hi,
I've got the same problem.
Tried everything...
No Results...

Thnks, Hardowin
User avatar
Scott
Advanced
Advanced
Posts: 26
Joined: Thu Aug 08, 2002 10:03 am
Location: U.K.

Post by Scott »

This is not so much a problem with the menu as with your approach to the problem..

If you use absolute links then you can specify exactly where the pages you wish to access are.. eg.

http://www.hostname.com/parent/nested.htm (this is not a valid hyperlink)

instead of the relative ../parent/nested.htm version this way there is absolutely no doubt about the location of the page.
User avatar
4viggo
Super Advanced
Super Advanced
Posts: 56
Joined: Wed Jun 12, 2002 12:03 pm
Location: Norway

Post by 4viggo »

Do also have a look at the "baseurl" topic posted earlier in the forum! :D
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Scott,

Exactly my sentimate. Scott is correct in that you should put the entire URL in the code. This will make the code alittle longer but it will keep you from having link problems down the road.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
Post Reply