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: website sub directories
ken734
Junior Member

Posts: 2
Registered: 5/12/2007
Location: Idaho
Member Is Offline
posted on 5/12/2007 at 03:33 PM Reply With Quote
website sub directories


I am very novice and have what I hope is a simple question. I have set subdomains on my website and want to use the same menu that is in the root directory on the sub directories. I don't know how to refer to the root directory in Java. I tried adding the ../ within the html and java scripts and know that doesn't work. Is there a way to refer to the root directory within Java? Would greatly appreciate any advice.
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 5/12/2007 at 04:10 PM Reply With Quote

You say you "set subdomains" and then refer to "sub directories". It's not the same. Also we deal with JavaScript which is not the same as Java. Anyway, details aside, you can refer to the root folder of the website by placing the slash at the beginning:

/
/index.html
/design/

if refering from different domain specify the domain:

http://www.softcomplex.com/
http://www.softcomplex.com/index.html
http://www.softcomplex.com/design/

note that using the absolute paths may prevent your site from functioning from the local drive without webserver (unless root folder of the website is also the root folder of your local drive)
View User's Profile View All Posts By User U2U Member
ken734
Junior Member

Posts: 2
Registered: 5/12/2007
Location: Idaho
Member Is Offline
posted on 5/12/2007 at 07:46 PM Reply With Quote
Thank you!


Thanks you for forcing me to think. I did have a sub domain in a subdirectory but was treating it just a subdirectory not a sub domain. I was able to get things working. I really appreciate your response even though I feel a little bit embarrassed.
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
 

Go To Top


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