Results 1 to 1 of 1
Thread: HELP! Setting a Root folder...
Aug 3, 2006, 05:35 #1
- Join Date
- Jul 2006
- South Africa
- 0 Post(s)
- 0 Thread(s)
HELP! Setting a Root folder...
I've got an outside script running the nav for my site. But the problem comes in where i have to jump back to my index after one has browsed the site.
The main problem is that if a person click on the index button while being in the index it will give an error cus it's looking for the file in the previous dir. Same for going into the about us page. I basicly need a konstant or refrence dir.
addItem('Home', '../index.html', '');
addItem('About', 'about.html', '');
addItem('Get in touch', 'getintouch.html', '');
This will work fine if you are in the about page., but not if you are in the index page. Hope you understand what i mean.