Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Tigra Menu Gold/html sources in different directory
philou
Junior Member

Posts: 6
Registered: 1/15/2007
Location: toulouse
Member Is Offline
posted on 1/15/2007 at 07:03 AM Reply With Quote
Tigra Menu Gold/html sources in different directory


I must store the html pages of my project under different directory.
For instance, I have the following structure :
- menu.htm
- link1.htm
- dirHtm/link2.htm
- menu_files (tigra menu)

From menu I liked to call either link1.htm and dirHtml/link2.htm.
Everything works fine if I duplicate menu_files under dirHtm directory, but I think duplication of code is a bad manner.
I have also tried to change :
var TMenu_path_to_files = 'menu_files/';
into an absolute path in menu_files/menu.js so that It should be reachable from each directory, but the menu does not display correctly.
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 1/15/2007 at 03:14 PM Reply With Quote

you don't need to duplicate the code if you use absolute paths in menu.js and items.js
something doesn't work as you want please submit a support ticket providing the url of the page.
View User's Profile View All Posts By User U2U Member
philou
Junior Member

Posts: 6
Registered: 1/15/2007
Location: toulouse
Member Is Offline
posted on 1/16/2007 at 03:29 AM Reply With Quote

As you told me, I send a zip attachment containing an exemple of my problem : this version is working as I have duplicated menu_files.
The goal of this test is to suppress "anotherHtmDir/menu_files" dir, I am not able to do that, so if you have an idea, please tell me ...
To check it works, load "index.htm", then put the mouse on "OverlapItem", the menu should overlap the page, click then on "page1" (on same dir), then put the mouse again on "OverlapItem", the menu should overlap "exemple1" page, then do the same with "page2" (on different dir), it works again : this last operation does not work in my config test if you suppress menu_files dir on anotherHtmDir and use absolute path, or there is something I do not understand ...
Thanks again

[attachment removed]
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 1/16/2007 at 09:54 AM Reply With Quote

I asked for the URL of the page in the support ticket, but never the less I got your files.

From what I see in your files you don't use absolute paths. Note that absolute paths break the menu when it is accessed from the local computer because the browser will try to get the files from the root filder of the local drive instead of the root folder of the website as when files accessed via web server.

Say menu_files directory is located in the root of your website then in menu.js the path should look like:
var TMenu_path_to_files = '/menu_files/';
or
var TMenu_path_to_files = 'http://www.yourdomain.com/menu_files/';
View User's Profile View All Posts By User U2U Member
philou
Junior Member

Posts: 6
Registered: 1/15/2007
Location: toulouse
Member Is Offline
posted on 1/17/2007 at 02:59 AM Reply With Quote

I have used your method (absolute path) again, and it is working on this example ! (I had a problem with caching I think).
Thank you, but could you tell me for the next time how to get a ticket from the support when I have a serious problem please ?
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 1/17/2007 at 09:10 AM Reply With Quote

Check your order confirmation email for the URL and the login information.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum
 
Tigra Menu PRO
Product Demonstrations Live Demos
Alignment & Multimenus
Unlimited Depth
Item sizing and positioning
Inner HTML
Frames, Targeting
Static Positioning
Free Download Menu Builders
Online Builder
Product Documentation Documentation
Documenation Page
Tigra Menu PRO FAQ
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 
Product Page Tigra Menu GOLD
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004