Discussion Locked

Frames Menu Navigation Problem

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I've a 2 frame web page - header and main frame. Using Frontpage 2000. In the header I've a drop down menu with links loading in the main frame. Some of the links work fine. The links which work are external links such as links to Yahoo, etc.

Wealso want to link to our own web pages. We want to load 'info.htm' and 'gallery.htm'. The problem is we can't get these internal (relative?) links to load in the main frame the same way that the others load. We've tried many java menues. They all all work fine BUT only with external links: they never ever work with my own pages.

Warning: I've pursued this problem for 4 weeks, and even emailed microsoft. Most of the replies have been baffling or just a hyper-url-link to another site that "explains everything".

It's been suggested the problem is with the urls. Apparently, the urls for the local pages should be in absolute form. Thus -

Yahoo
Altavista
Information
Gallery

is wrong : the last 2 links should be otheriwise figured. How I don't know. Something to do with the domain name of my computer. Idon't know my domain if I have one, so that's a problem. Even so, we've another site using a 2 frames with a menu loading its pages OK in the main frame (see www.jerichobooks.com). We never had to detail the links for this site in a long-styled domain name manner. Why is that our new site now with drop down menu requires it?

On this, if it is that we've to somehow make the local links domain style (however one does that and whatever it is ?) does that mean when we ftp the pages to our ISP the links won't work? It would seem the links would be referring to files on our computer. That just leaves more baffled.

Many thanks for your kind help.

7 replies

by ebob

1 - If it 's true that your pathing should be "absolute" then try:
Information
Gallery

Somehow, I doubt that that will fix your problem.

2 - You say your drop-down menu system is "Java". Can you contact the developer for assistance?

3 - On the other hand, if it's "JavaScript", then you might check "www.javascript.com" and othe JS resources.

4 - You did not tell what the nature of the problem, only that your menus "are not working".
Are you getting "404" errors, or other such error codes? Then the problem is likely "pathing".
Is the HTML/JavaScript code for the header/menu in the same directory as the "info.htm" and "gallery.htm" files?
Many sites, maybe yours too, have "control" files in one directory, and flat HTML in another. Maybe you need to reference the other HTML files with:
...value="/html/info.htm"...
which means: from the root of my virtual directory structure, look in the directory named "html" for a file name "info.htm".
Is the page loading but not in the right frame?
Then of course, you need to tell the menu to load the file in the proper frame. Try:
...target='main'...
in the reference.

Hope that helps you.

(Caution, nasty comment: And that's why I don't use FP.)

by rmccon

What eBob said should help. If not, post the url to the site so that we may see the problem.

by genxcat

Assuming that all your pages are loaded in the same folder, you should be able to use the relative link method described in the last post i.e. start the link with /.

This tells the browser to look for the page name that follows in the same directory(folder).

This discussion is closed to new replies.