Results 1 to 2 of 2

Thread: #include from referring url

  1. #1
    Join Date
    Aug 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation #include from referring url

    I am trying to perform a simple include here, and can't seem to get it to work.

    I have a main header (HEADER.HTML) that is included on all of my site pages. Inside of that header, I need an include that will call a navigation that will change depending on what page the end user has clicked (CATNAV.HTML).

    For example, the top nav bar has the typical ABOUT, CONTACT, RESOURCES, etc. That is the same on all pages, and is what makes up my primary HEAR.HTML include. Within the RESOURCES page, however, there are additional, lower level navigation items that appear on the left side of the page (or are supposed to). This is what I cannot get to work.

    Those left side navigations will change depending on what was clicked at the top.

    http://www.medi-dyne.com/new/resources/resources.shtml for example.

    It's like I'm trying to tell the header file that IF SOMEONE CLICKS "RESOURCES", THEN SHOW THE CATNAV.HTML FILE (the lower level nav that is to appear on the left).

    I have each folder in my directory labeled accordingly (/ABOUT, /CONTACT, /RESOURCES, etc) and each folder contains a CATNAV.HTML file that the HEADER file should include.

    Can anyone help me here? I'm sorry if I'm being unclear. Obviously I'm a greenhorn here.

    Thank you, in advance.

  2. #2
    Join Date
    Feb 2007
    Posts
    293
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Not totally clear about what you want.

    Do you mean when someone clicks on "resources" and then winds up on resources.html, that you want a different left nav bar on the resources.html page than there is on, say, the contact.html page?

    Also, since they're shtml files, I assume you're ussing server side includes to do this?

Bookmarks

Posting Permissions

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