Electric Vehicle Forums

Electric Vehicle Forums (/forums/)
-   Off Topic (https://electricvehicleforums.com/forums/off-topic-9/)
-   -   Navigation Bar Code (https://electricvehicleforums.com/forums/off-topic-9/navigation-bar-code-2536/)

Stevo12886 Jun 10, 2005 08:28 PM

Navigation Bar Code
 
Jason, i'd like to finish up my website design, but i came up on a major flaw in my navigation system. I figured out that whenever i would add a page in an articles section i would have to manually go and add a link to it on all the pages that were in the same section. I would like to have it folder based like:

Essays (a folder)

Travel Reports (a folder)
Brasstown Bald 12/19/04 (page)
Helton Creek Falls 2/07/05 (page)

Waterfalls & Locations (folder)
Georgia (subfolder)
South Carolina(subfolder)
North Carolina(subfolder
Transylvania County(subfolder)
Rainbow Falls (page)
Turtleback Falls (page)
Stairstep Falls (page)
Sidepocket Falls (page)
Windy Falls (page)


Something like that, were if you click on a folder it expands and closes other folders. Is there a way to code this, or atleast get Dreamweaver to do it automatically so i dont have to add in the link 20 times?

Jason Jun 12, 2005 08:44 AM

Re: Navigation Bar Code
 
Such systems can be implemented in a couple ways. The first is through server-side coding and the page is automatically added as a link wherever it ought to be. Those aren't flat HTML pages, though. The other way, which I suggest you use, is to use Javascript on a single page to collapse/expand your folder tree. Do a search on google for "Javascript folder tree" or something similar. Perhaps "collapse expand". Good luck!

Stevo12886 Jun 12, 2005 11:14 AM

Re: Navigation Bar Code
 
Thanks Jason, i'll ask you more if i have more questions, that sounds like the solution there.


All times are GMT -7. The time now is 06:10 AM.


© 2026 MH Sub I, LLC dba Internet Brands