HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 16th, 2003, 09:52 AM
confused confused is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 3 confused User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question java menu navigation issue

I have a java menu for my navigation on the site I am trying to develop - My first site really. . . .

The java used to feed the menu structure is nav.js
I have relative navigation paths in the file such as:

"home", /index.htm
"links", /link/index.htm
"travels". /travels/index.htm

This all works great from the main index page but once someone navigates to the links or travel pages (where I use the same menu), it won't reference back to the other pages. If I am in the travel page and click links menu, I get a file not found and it tries to go to URL .. . . . ../travels/links/index.htm

Do I have to have all naviation as a url? Will this make my get multiple counts on my counters?

Thanks for helping a newb.

Reply With Quote
  #2  
Old December 20th, 2003, 01:57 AM
dev257 dev257 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: Chandigarh
Posts: 55 dev257 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 48 sec
Reputation Power: 5
try this

use ..\ to go back e.g. when on the links page i.e. in the link directory and wanting to go to the index.html which is in the root directory you will be required to make a link for ../index.html
HOPE THIS HELPS
__________________
Devendra Kumar Singh

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > java menu navigation issue


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT