[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

question about navbars



Hello.

I am busy trying to figure out all the cool features of WML, and making my
web page.

I'm trying to create a navbar which includes the "parent" navbars.

For example, lets say my directory structure is like this:

HOME_DIRECTORY    
    |---something
    |---nothing
    |    |--foo
    |    \--bar
    \---everything
         |--every
         |   |--quux
         |   |--xuuq
         \--thing
	     \--blah


What i want is  when i am at my home directory, i have an navbar:
  SOMETHING
  NOTHING
  EVERYTHING

under NOTHING:
  SOMETHING
  NOTHING
     Foo
     Bar
  EVERYTHING

under EVERYTHING:
  SOMETHING
  NOTHING
  EVERYTHING
     Every
     Thing


under Every:
  SOMETHING
  NOTHING
  EVERYTHING
     Every
       quux
       xuuq
     Thing

under Thing:
  SOMETHING
  NOTHING
  EVERYTHING
     Every
     Thing
       blah
 
The tricky part is doing it so that i can just have a file called
"navbar.wml" (or so) in each directory, and then have  WML figure it 
out.

I dont know if that is possible, or whatever, but it would definitely
make things easier.
  
Ideas and/or code examples for how to do this would be much appreciated.

Thanks.

Ryan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~  Ryan VanderBijl   ~~   rvbijl39@calvin.edu  ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com