List Info

Thread: Re: Updating a navigation menu




Re: Updating a navigation menu
country flaguser name
United States
2007-03-28 10:06:18

On 3/28/2007 10:48 AM, Rachel Vidrine wrote:

> I would like to know of a quick and easy way to update
a text-based
> navigation menu that is on every page of a site. I
thought of creating
> the menu as a server-side include, but that would not
work because some
> of the files are in folders, so the links could vary
depending on which
> directory of the site each page is located. I know
there has to be an
> easier way than manually modifying the menu on each
page. Is there a
> script of some sort that I can use?
> 

Write the links in the include relative to the top of the
site:

  <ul>
  <li><a href="/catalog/">Our
catalog</a></li>
  <li><a href="/catalog/tips">Catalog
search tips</a></li>
  <li><a
href="/e-resources/journals/alpha.html">Our
    e-journals, by title</a></li>
  <li><a
href="/e-resources/journals/subject.html">Our
    e-journals, by subject</a></li>...



-- 
Thomas Dowling
tdowlingohiolink.edu
_______________________________________________
Web4lib mailing list
Web4libwebjunction.org
http://lists.we
bjunction.org/web4lib/

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )