Board Logo

Problems with multiple frames and files in subdirs
Azer - 4/3/2003 at 02:31 PM

I hava a page with multiple frames and the tigra menu gold in the top frame. Then I have 3 frames displaying text below the menu. But when the page in one of the frames i placed in a subdirectory, the menu wont scroll over it. I?ve used correct paths to the menu files and so on but it still wont work. How is that?


namelessone - 4/3/2003 at 08:17 PM

Its likely you where using relative pathing rather than absolute pathing in you're invocation of the menu. If you're invocations looks something like this
<script language="JavaScript" src="vmenu/template.js"></script>

change it to look like this

<script language="JavaScript" src="/vmenu/template.js"></script>

for all references in you're header to any of the menu files.


Azer - 4/4/2003 at 09:59 AM

I use references like src="../menu_files/itemsXP.js"

I've tried full pathname as:
src="http://mysite.com/menu_files/itemsXP.js" and it still doesn't work.

Iv'e tried your suggestion but that doesn't work either.

The files in the root dir works fine with src="menu_files/itemsXP.js

but the files in /root/submenu/file.php seems to be unable to reach the menufiles in /root/menu_files/


namelessone - 4/10/2003 at 12:48 AM

I forgot to mention in my post that you should also check the syntax in you're menu.js file itself. You should see an entry like:
var TMenu_path_to_files = '/hmenu/';

I would make sure that the pathing here is absolute as well because if it is not then tiagra will look for the other menu files starting at the directory from where the menu was invoked.


Bryan - 4/23/2003 at 04:25 PM

Do you have a sample of your site posted online anywhere? I'm working on a site with a similar structure (one top header frame with multiple lower frames) and am having some problems getting the menus working. Thanks.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/