Results 1 to 6 of 6
  1. #1
    New Lounger
    Join Date
    Mar 2001
    Location
    Ashwell, Hertfordshire, UK
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Automatic Hierarchy (2002)

    I would like to know how to do automatic hierarchy such as:
    Home>Newsletters>March 2002
    It is placed near the top of every web page and shows users exactly where they are in the web site structure.
    I've seen this in many web sites and find it useful.
    How do I do it? Note: I don't want to use FrontPage extensions.
    I hope someone can help - thanks.

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Automatic Hierarchy (2002)


  3. #3
    New Lounger
    Join Date
    Mar 2001
    Location
    Ashwell, Hertfordshire, UK
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Automatic Hierarchy (2002)

    Thanks Leif

    I can't have explained my problem well enough.

    What I mean is, as well as the navigation buttons, some web sites have a clever method of letting you know where you are by actually stating something like this, near the top of the page:

    Home>Newsletters>March 2002

    It serves two purposes:

    1 It shows you that you are now in "March 2002", which is a child page of "Newsletters", which is a child page of the Home page.

    2 It is clickable, so you can immediately go back up to the named parent pages. This is more meaningful than "Up".

    ----------------------
    Example:
    http://tucows.blueyonder.co.uk/preview/194403.html
    This has the line:
    Internet > HTML Accessories > CGI*Star Professional
    And whatever page you go to there is a similar line shown to tell you exactly where you are.

  4. #4
    Super Moderator WebGenii's Avatar
    Join Date
    Jan 2001
    Location
    Redcliff, Alberta, Canada
    Posts
    4,066
    Thanks
    2
    Thanked 5 Times in 5 Posts

    Re: Automatic Hierarchy (2002)

    I've seen this done using a combination of server side includes and asp scripts.

    Cheers
    [b]Catharine Richardson (WebGenii)
    WebGenii Home Page
    Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Automatic Hierarchy (2002)

    Well, no doubt you could do it manually with no special server side features required.

    Unless you are generating pages from a database where you could store the hierarchy information along with the content, it is difficult to think of an easy automatic way to do it. For example, an ASP script could read the file path, but most likely it is too cryptic or would require you to reorganize a lot of pages.

    In the short run, then, I think adding the paths manually makes the most sense. Of course, you will be able to copy and paste a lot of it from page to page.

    I vaguely think there was a post on the HTML board about this, and discussing the relative merits of separating the items with colons versus arrows, but...it's been a while since I was over there.

  6. #6
    New Lounger
    Join Date
    Mar 2001
    Location
    Ashwell, Hertfordshire, UK
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Automatic Hierarchy (2002)

    Thanks everyone for your comments.

    Particular thanks to Jefferson who made the suggestion of doing it manually!
    In these days of computer programs being able to so much, I thought it obvious that this simple idea should be available somewhere.
    Come on, some of you clever people, and get some good code written!
    Me - I just do things the simple way in FrontPage, having never got my brain round things like HTML, Perl, ASP and other things, although I make copious use of VBA in Word & Excel.

    In the meantime, I've now done it manually - you can see it at:
    www.nhmesg.org.uk

    Thanks again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •